We’ve only touched the very basics of the LLVM IR. Please visit the LLVM Language Reference Manual at https://llvm.org/docs/LangRef.html to…

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…

Let’s have a look at the scope of names first. The scope of a name is the range where the…