TC-L Improvements
Possible improvements include:
- Debug information
LLVM has support for debug information. If you want to generate that, have a look at Adding Debug Information.
LLVM generates DWARF code.
Start by emitting the locations of your nodes first, then go further with scopes and variables.
- Global variables
In contrast to TC-5, Translating to the High Level Intermediate Representation, LLVM has support for global variables, using the
GlobalVariable
class.