Prerequisites:
Steps to build:
opam install menhir
make
Steps to run:
./tests
(should produce some error output -- tests that were expected to fail -- and 0 exit code)
See tests.ml to see what the binary does.
In order to see AST output in console:
make clean
andmake
ocaml
orutop
./shell ast
-- keep in mind that this only accepts full programs as input, and each only on one line
In order to see lowered code output in console:
make clean
andmake
ocaml
orutop
./shell lower
-- keep in mind that this only accepts full programs as input, and each only on one line