@hackage llvm-hs9.0.1
General purpose LLVM bindings
Categories
License
BSD-3-Clause
Maintainer
Anthony Cowley, Stephen Diehl, Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
Links
Versions
Installation
CustomTested Compilers
Dependencies (11)
- array >=0.4.0.0
- attoparsec >=0.13
- base >=4.9 && <5
- bytestring >=0.9.1.10
- containers >=0.4.2.1
- exceptions >=0.8 Show all…
Dependents (4)
@hackage/accelerate-llvm, @hackage/accelerate-llvm-ptx, @hackage/accelerate-llvm-native, @hackage/llvm-hs-pretty
Package Flags
shared-llvm
(on by default)
link against llvm shared rather than static library
debug
(off by default)
compile C(++) shims with debug info for ease of troubleshooting
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.