/minic

Minimalist compiler course, based on Essential of Compilation

Primary LanguageOCaml

minic

This is a minimalist compiler course, based on Essential of Compilation, compiles a limited scheme variant to aarch64 assembly.

Installation

Before start developing, you will need to run below code to install dependencies

opam install --deps-only --with-test .

Usage

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.ss

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