Compiler for a restricted C-like language (Oat) written in OCaml for the Compiler Design course @ ETHZ.
The compiler consists of a frontend (Oat -> LLVMlite) and backend (LLVMlite -> X86lite). For the compilation of X86lite, Clang's backend is used.
For further details on the Oat language please refer here.
In order to run the compiler, please refer here and make sure the following are installed:
- LLVM
- GCC
- Clang <= 3.6
- OCaml >= 4.01.0
- Menhir