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 .
*All operators(ex Arithmetics , Logical).
Implementation:
C# language with Visitor Pattern.
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 2017.