GioaniBraouni / Compilers-I-Bison

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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


Languages

Language:C++ 95.7%Language:Yacc 3.3%Language:Lex 1.0%