-
Notifications
You must be signed in to change notification settings - Fork 3
Compilation Pipeline
Hécate Moonlight edited this page Feb 9, 2024
·
8 revisions
The pipeline is based on the methodology of micro-IRs
- Tree-sitter produces an internal representation
- Aforementioned representation is turned into a Syntax on the Haskell side
- Semantic analysis happens
- Syntax is transformed into a RawCore representation (we lose information about original syntax)
- RawCore is transformed into a ANFCore representation
- ANFCore is turned into Lua