'Pycaml Compiler' is a compiler for min-caml, which has a two-tiered structure: Ocaml parts first performs the process up to a closure transformation, and then Python parts performs the process left.
- ocaml
- python3
To use Pycaml Compiler, run following steps.
- Make an executable file of min-caml.
make
- To run two parts in succession, run
pycaml.sh
:
sh pycaml.sh filename
You can compile any file in test
directory by specifying the filename without an extension. If you do not specify a file, test/test.ml
will be compiled.