Or check out the world class really nice llvm bindings in Haskell that were recently released: haskell.org/package/llvm-general
They're already in use to provide an llvm backend for the idris compiler, and ill be using them myself soon too.
One of the notable novelties about llvm general Is that you can manipulate the llvm AST as a normal Haskell data type. It also has really nice hooks for using most of the well maintained llvm Apis.
They're already in use to provide an llvm backend for the idris compiler, and ill be using them myself soon too.
One of the notable novelties about llvm general Is that you can manipulate the llvm AST as a normal Haskell data type. It also has really nice hooks for using most of the well maintained llvm Apis.