Compiler
Based on https://github.com/tomprimozic/type-systems
Overview
This is a compiler for a toy language.
Building and Testing
Setup Instructions
You will need ocaml, opam and oasis installed to run the compiler.
- Install ocaml and opam using your preferred package manager.
- Then use opam to install oasis and menhir using
opam install oasis
andopam install menhir
.
Build Instructions
Run make clean
to clean up the directory (if necessary), and run make
to build the project.
Execution Instructions
The compiler can be run using ./compiler.native
.