The compiler is built using stack.
Parser generated with BNFC.
Packages used are listed in package.yaml
.
- Implemented objects with virtual methods (extensions 2-4).
app/Main.hs
: BNFC-generatedMain
module with minor tweaks.src/Types/
: Frontend; static type checkersrc/BNFC/
: BNFC parser filessrc/CodeGen/
: Code generation, first to a linear representation and then to 32 bit x86 assembly.src/Utils.hs
: General utilities.