Compiler Stages
The compiler will be written in several steps, described below.
- Stage Presentation
- TC-1, Scanner and Parser
- TC-2, Building the Abstract Syntax Tree
- TC-3, Bindings
- TC-R, Unique Identifiers
- TC-E, Computing the Escaping Variables
- TC-4, Type Checking
- TC-D, Removing the syntactic sugar from the Abstract Syntax Tree
- TC-L, LLVM IR
- TC-I, Function inlining
- TC-B, Array bounds checking
- TC-A, Ad Hoc Polymorphism (Function Overloading)
- TC-O, Desugaring object constructs
- TC-C, Combine language extensions
- TC-5, Translating to the High Level Intermediate Representation
- TC-6, Translating to the Low Level Intermediate Representation
- TC-7, Instruction Selection
- TC-8, Liveness Analysis
- TC-9, Register Allocation
- TC-X, IA-32 Back End
- TC-Y, ARM Back End