mirror of
https://github.com/RoBaertschi/tt.git
synced 2025-04-16 05:53:30 +00:00
526 B
526 B
tt Programming Language Backend Architecture
Goals
- Easy support for different architectures and OSs
- Easily Optimisable on most levels
- Good Performance
Architecture
AST --> Type Checking --> TAST --> IR Emission --> TTIR --> Codegen --> ASM --> Emit --> FASM -> Binary
TTIR: TT Intermediate Representation is the Representation that the AST gets turned into. This will be mostly be used for optimissing and abstracting away from Assembly TAST: Typed Ast
Type Checking
Passes:
- Type Inference
- Type Checking