Supplementary repository for compiler course.
Prerequisites: ocaml [http://ocaml.org], opam [http://opam.ocaml.org].
Building:
opam pin add GT https://github.com/dboulytchev/GT.git
opam pin add ostap https://github.com/dboulytchev/ostap.git
opam install ostap
opam install GT
- To build the sources:
make
from the top project directory - To test:
test.sh
fromregression
subfolder
Repository contains docker container that contains environment with
ocaml
, ostap
, gcc-multilib
and all required packages.
To create container run create_container.sh
.
To run container run run_docker.sh
. Project folder will be shared
on container at path ~/compilers
.