LLVM Haskell Examples
Simple examples demonstrating the usage of the llvm-hs for generating and manipulating LLVM from Haskell.
- basic - Generating LLVM AST and rendering Textual IR
- orc - JIT Compiling IR on the Eager and Lazy ORC Jit using Compile-On-Demand
To run the examples:
$ stack exec basic
$ stack exec orc
To load the examples in GHCI:
$ stack repl examples:basic
$ stack repl examples:orc
License
MIT