Scalc is a stack-based calculator app that runs in a terminal. I built it using Python3.
git clone https://github.com/sharpvik/scalc.git
cd scalc
chmod +x main.py
./main.py
# or just 'python3 main.py'
Operator | Explanation |
---|---|
+ | Addition |
- | Subtraction |
* | Multiplication |
/ | Division |
^ | Power |
! | Factorial |
= | Peek |
# | Pop |
$ | Emit (Peek + Pop) |
? | Show the Stack |
q | Quit |
- Python 3.7