1 unstable release
0.1.0 | May 23, 2024 |
---|
#801 in Math
11KB
294 lines
usze
A reverse polish notation CLI calculator
Sometimes you just need to do some quick arithmetic. Takes input from stdin or cli arguments
Example
Interactive Mode
calc
enter
to evaluate,ctrl-c
to exit
Argument Mode
calc 2 3 + 4 /
Operators
+
Add-
Minus*
orx
Multiply/
Divide^
Pow%
Swap#
Duplicate_
Droplog
Logarithmget
Set Registerset
Get from Register
Features
- basic operation
- 256 registers
- stdin / args interleaving
- separate inprogress output to stderr
Dependencies
~225KB