An open API service indexing awesome lists of open source software.

https://github.com/geremachek/basil

🌿 no-frills RPN calculator
https://github.com/geremachek/basil

calculator console math reverse-polish-calculator reverse-polish-notation rpn shell terminal tui

Last synced: 4 months ago
JSON representation

🌿 no-frills RPN calculator

Awesome Lists containing this project

README

          

# basil

An RPN calculator with a simple terminal interface

![Basil](images/9.png)

**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+