ExecEngine

Project Information

ANSI C (C90) to RISC-V compiler developed as part of the EIE 2nd Year Compilers coursework. This project was done by myself (Johan) and Alvi. This project can be used to learn basics of compiler design such as lexing, parsing, abstract-syntax-tree (AST) and assembly generation. Further, contexts like register allocation, stack pointer, memory management, etc can also be seen.

This project scored a 80% out of all the seen and unseen test cases, putting our compiler second-best ranked among all. The test cases varied from functions and datatypes to pointers and structs. If you have any questions and suggestions, please feel free to reach out to me. I would be more than happy to help and learn more 😀.