Home

Awesome

CPL Python Compiler

This is my FYP project with the title of: "Design a compiler for the CE4717 Compiler Project Language that uses LLVM as a code-generation backend"

Requisites

In order to install Python requirements, just run

pip install -r requirements.txt

Compilation

In order to compile a CPL program, run

python cpl.py <input file> <list file> <code file>

There are sample CPL source code files in the tests folder.