A C to MIPS compiler based on the ANSI C specification and developed in C++.
This project specifications is based on ELEC50010: Instruction Architecture and Compilers (https://github.com/LangProc/langproc-2019-cw.git
).
- Ebby Samson: [email protected]
- Xin Wang: [email protected]
The deliverables consists of the following:
compiler.cpp
: Compiles a given ANSI C program into MIPS assembly language.test_compiler.sh
: A testbench for the compiler that uses the test cases in thecompiler_tests
folder and compares the generated MIPS assembly language with MIPS-QEMU.