Having created a decorated abstract syntax tree (AST) for your programming language, the next task is to generate the LLVM…

These rules are embedded into the semantic analyzer while creating the AST nodes for an expression. Likewise, the type and…

This must be done reliably because we do not want to add names to the wrong scope in case of…

Equipped with this knowledge, we can now implement all the parts. First, we must create the definition of the AST…

Naturally, the AST nodes are a part of a class hierarchy. A declaration always has a name. Other attributes depend…