The project aims to build a mini compiler for C language
Language:
*Local variables. *Functions, If-Else , Switch , While , Do-While,For Loop , Return , Break , 1D & 2D array (Will be implemented soon).
*All operators(ex Arithmetics , Logical(.
Implementation:
C++ language with Fly Weight Pattern and a Symbol Table.
The front-end of compiler consists of the following three phases:
1)Lexical Analysis
2)Syntax Analysis
3)Semantic Analysis
Graphviz must be installed , if you want to see the syntax tree.
This project was made with Visual Studio 2019.