In this article, we will learn how to transform an AST (Abstract Syntax Tree) into an LLVM IR (Intermediate Representation).
Table of contents.Introduction.Initial setup.Code generation for expressions.Code generation for functions.Summary.References.Prerequisites.
Creating AST nodes using LLVMIntroduction.
In the prerequisite article, we built a class hierarchy that represents different AST nodes in a programming language whereby the node type has a class where the name of the class...
Published on April 24, 2022 23:09