A lightweight terminal calculator
The current build of calcInt is calcInt32
$ ./calcInt16
$ ./calcInt32
$ ./calcInt32h
calcInt now supports:
- single OP commands
- prefix OP NUM
- infix NUM OP NUM
┏━━━━━━━━━━━━━━━┓
32 Bit Calculator
┗━━━━━━━━━━━━━━━┛
$ OP
$ OP NUM
$ NUM OP NUM
Note: spacing DOES matter now since the lexer delimits by whitespace
Format: OP
- h : brings up the list of currently supported opperations
- q : stops execution
- c : prints credits
Format: OP NUM
Format: NUM OP NUM
calcInt32 now includes a Makefile. To build your own binary just run:
$ make
The included precompiled binary was compiled with: gcc calcInt32.c -O2 -o calcInt32