/Compilers-I-Bison

Final Semester Project written in c++ combining fly weight pattern for Compilers I course(CST165)

Primary LanguageC++

MiniC-Compiler

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.