Kaleidoscope
Implementing a Language with LLVM
The LLVM Kaleidoscope tutorial has been ported to llvmpy by Max Shawabkeh.
- 1. Chapter 1: Tutorial Introduction and the Lexer
- 2. Chapter 2: Implementing a Parser and AST
- 3. Chapter 3: Code generation to LLVM IR
- 4. Chapter 4: Adding JIT and Optimizer Support
- 5. Chapter 5: Extending the Language: Control Flow
- 6. Chapter 6: Extending the Language: User-defined Operators
- 7. Chapter 7: Extending the Language: Mutable Variables / SSA construction
- 8. Chapter 8: Conclusion and other useful LLVM tidbits