C-imple is a custom language developed for the purpose of this course. This project was developed in three phases.
- Lexical Analysis
- Syntax Analysis
- Intermediate code
- Equivalent code in C programming language
- Symbol Table
- Final code (ready to be assembled using MARS 4.5)
The compiler takes as imput .ci files (C-imple) and produces the following
-
.int
Intermediate code files -
.c
Equivalent code in C programming language -
.asm
Final code in assembly
v3.8
cimple.py [file].ci