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
- Host: GitHub
- URL: https://github.com/geremachek/basil
- Owner: geremachek
- License: gpl-3.0
- Created: 2021-04-03T02:33:01.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-12-20T08:15:52.000Z (over 4 years ago)
- Last Synced: 2024-06-20T06:30:39.847Z (almost 2 years ago)
- Topics: calculator, console, math, reverse-polish-calculator, reverse-polish-notation, rpn, shell, terminal, tui
- Language: Go
- Homepage:
- Size: 69.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# basil
An RPN calculator with a simple terminal interface

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