A terminal calculator
tcalc supports two modes of usage: terminal and REPL.
```bash
$ tcalc "2^8-1" 255 ```
```bash
$ tcalc
2^8-1 255 exit ```
| Operator | Description | |----------|----------------------------------| | ( ) | parens | | - | negate | | ^ ** | exponentiation | | * / % | multiplication, division, modulo | | + - | addition, subtraction |
| Commands | Description | |----------|--------------------------| | exit | exit the REPL | | quit | alias for exit |