This is a compiler for a simple made-up programming language "EasyComp". This language was created as the final project of the Compilers subject at the CEFET-MG University, Brazil, taken in the the first semester of the year of 2022.
Dependencies:
g++
cmake
Build:
cmake .
cmake --build .
./Compiler file
This language supports the following features:
Types:
- Integers
- Floats
- Chars
- Strings
Arithmetic Operations:
- Addition
- Subtraction
- Multiplication
- Division
Relational Operations:
- Equal
- Not Equal
- Greater Than
- Less Than
- Greater or Equal
- Less or Equal
Loops:
- While
- Repeat Until
Special Operations:
- Read
- Write