This is a minimalist compiler course, based on Essential of Compilation, compiles a limited scheme variant to aarch64 assembly.
Before start developing, you will need to run below code to install dependencies
opam install --deps-only --with-test .
To use this project to learn how to make a compiler, read the followings by order
Nows, you can run build, test
dune build
dune runtest
, and of course, check the example by the command below
dune exec minic -- ./example/hello.mml
main branch is not stable, there might have some example cannot work, if you're a learner then goes to Release and pick a branch first. Each release is a stable version, written examples should be runnable