Command Line Interface to execute mathematics operations made as an asingment of the Compilers & Interpreters subject.
Once you are inside the tool, you can type :? to get the system help.
The current version of the tool supports:
- basic arithmetic operations +,-,*,/
- variable declaration
- use of simple math functions like sin, cos, etc.
- load a file with a list of commands
You can add more functions and constants to the tool, if you edit the file preload.c.
bash compile.sh
./CLIMath.out