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.
- Kaleidoscope: Tutorial Introduction and the Lexer
- Kaleidoscope: Implementing a Parser and AST
- Kaleidoscope: Code generation to LLVM IR
- Kaleidoscope: Adding JIT and Optimizer Support
-
Kaleidoscope: Extending the Language: Control Flow
-
Kaleidoscope: Extending the Language: User-defined Operators
-
Kaleidoscope: Extending the Language: Mutable Variables
-
Kaleidoscope: Compiling to Object Code
-
Kaleidoscope: Adding Debug Information
-
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.