A project written in Haskell for Compiler Construction university course. Latte is a subset of Java designed as a training language for CS students.
Compiler can be built by calling make
. This creates compiler executable, latc_x86_64
.
/
|--src/ compiler source code
| |
| |--bnfc/ Latte grammar in BNFC format
|
|--lib/ rutime library and its source code
- Arithmetic and boolean expressions
- Loops
- Conditionals,
- Functions
- Classes with inheritance and method overriding