It is a very basic calculator written in OCaml, Sedlex and Menhir.
Compile the files:
$ chmod 777 build.sh
$ ./build.sh
Run the executable:
$ ./calc
Then you could write expressions such as 2+3
, 4*5
, and press Enter
(and eventually Ctrl+D
) to check the result.
$ make clean