Compile simplified C-Language into Java Code
I took the course Principles Of Programming Languages during my Exchange Semester at the Ho Chi Minh University of Technology, Vietnam. The goal of the course is to build a compiler which translates MC, a simplified version of C, into Java using ANTLR4 and Python 3.4.
write MC Grammar to create Parse Tree
- MC.g4
- LexerSuite.py
- ParserSuite.py
create an Abstract Syntax Tree
- ASTGeneration.py
- ASTGenSuite.py
implement static type and name checking
- StaticCheck.py
- CheckSuite.py
tbc