Skip to content

Latest commit

 

History

History
49 lines (40 loc) · 598 Bytes

README.md

File metadata and controls

49 lines (40 loc) · 598 Bytes

basil

An RPN calculator with a simple terminal interface

Basil

Commands:

Pop off the stack: "pop", "p", "."
Swap: "swap", "s", ","
Push memory value to stack: "recall", "r", "]"
Set memory value: "store", "S", "["
Clear the stack: "clear", "c", ";" 
Switch between degrees and radians: "angle", "a", "<"
+
-
*
/
%
^
square
cube
sqrt
log
ln
logb
root
flip
sin
cos
tan
asin
acos
atan
fact

Key bindings:

ESC: Exit

To do:

  • Big Nums (not of much use to me, although I would like to add them at some point the future)

Built using Go version 1.16+