Kaleidoscope: Implementing a Language with LLVM in CSharp

This is the C# translation of the LLVM tutorial.

This tutorial is using Microsoft/LLVMSharp as the C# LLVM binding.

  1. Kaleidoscope: Tutorial Introduction and the Lexer
  2. Kaleidoscope: Implementing a Parser and AST
  3. Kaleidoscope: Code generation to LLVM IR
  4. Kaleidoscope: Adding JIT and Optimizer Support
  5. Kaleidoscope: Extending the Language: Control Flow

  6. Kaleidoscope: Extending the Language: User-defined Operators

  7. Kaleidoscope: Extending the Language: Mutable Variables

  8. Kaleidoscope: Compiling to Object Code

  9. Kaleidoscope: Adding Debug Information

  10. Kaleidoscope: Conclusion and other useful LLVM tidbits

Chapter 5 to 10 are not available due to the difference between the language C# and C++ themselves and the API.