This directory contains the rocq development of a simple verified bootstrapped compiler for an imperative language.
Create (opam switch create . --no-install) or select an existing opam switch, then install the dependencies declared by the package:
opam install . --deps-onlyStart with a clean build so that every theory is checked from source:
ulimit -s 1048576
opam exec -- dune clean
opam exec -- dune buildThe generated compiler uses the stack extensively. A typical 8 MiB default stack is insufficient for self-compilation, so raise the limit before running the compiler outside of Rocq:
ulimit -s 1048576