TC-L, LLVM IR
2025-ing-apprentis-TC-L submission is Saturday, April 22th 2023 at 21:42.
2025-ing-TC-L submission is Saturday, April 29th 2023 at 21:42.
At the end of this stage, the compiler procudes LLVM IR code. This stage produces an intermediate representation like TC-5, Translating to the High Level Intermediate Representation.
To understand more about this stage you can checkout LLVM.
This stage makes use of multiple previous stages:
- TC-R, Unique Identifiers
All the identifiers have to be unique, in order to translate them to LLVM identifiers (for debug purposes).
- TC-D, Removing the syntactic sugar from the Abstract Syntax Tree
The desugar visitor is used to translate
forloops and comparison between strings.