MACO is a simple Ocaml port of the MAC project.
You should use the project with the latest version of the ocaml compiler. You can optain the latest version of ocaml with the use of the opam switch command.
You only need jbuilder for this project:
opam install jbuilder
Clone:
git clone https://github.com/StrykerKKD/maco.git
cd vmao
Build:
jbuilder build maco.exe
Run:
./_build/default/maco.exe
- maco.ml: Simple imperative virtual machine
- macofp.ml: Simple functional virtual machine