llvm-hs is a set of Haskell bindings for LLVM http://llvm.org/. Unlike other current Haskell bindings, it uses an ADT to represent LLVM IR (http://llvm.org/docs/LangRef.html), and so offers two advantages: it handles almost all of the stateful complexities of using the LLVM API to build IR; and it supports moving IR not only from Haskell into LLVM C++ objects, but the other direction - from LLVM C++ into Haskell.
- Revamp OrcJIT API
The user facing API is now exposed using
LLVM.OrcJIT. All user facing functions have been documented. In addition the bracket-style API, there are now
dispose*functions making it easier to ingegrate OrcJIT in custom monad transformer stacks. There is a new
CompileLayertypeclass which abstracts over the various compile layers in
- Support QuickCheck 2.10
- Switch most of the API from
- Switch from ExceptT to using exceptions.
LLVM.Exceptionfor an overview of the exceptions potentially thrown.
Fix linking of system libraries
4.0.0 (initial release, changes in comparison to llvm-general)
- Move modules from
- Support for LLVM 4.0
- Improved support for LLVM’s exception handling instructions
-fshared-llvmis now supported on windows (thanks to @RyanGLScott)
- Default to