@hackage llvm0.4.2.0
Bindings to the LLVM compiler toolkit
Categories
License
BSD-3-Clause
Maintainer
Bryan O'Sullivan <bos@serpentine.com>, Lennart Augustsson <lennart@augustsson.net>
Links
- Homepage
- Documentation
- No source repository
- Security
Versions
Deprecated
Dependencies (3)
- base >=2.0 && <2.2
- bytestring >=0.9
- mtl Show all…
Dependents (5)
@hackage/synthesizer-llvm, @hackage/llvm-extra, @hackage/acme-everything, @hackage/accelerate, @hackage/BASIC
Package Flags
bytestring-in-base
(on by default)
bytestring was part of the base library in ghc-6.6 days. The bytestring low level interface is in Data.ByteString.Internal and Data.Bytestring.Unsafe not Data.ByteString.Base
Haskell LLVM bindings
This package provides Haskell bindings for the popular LLVM compiler infrastructure project. If you don't know what LLVM is, the main LLVM home page is here:
Configuration
By default, when you run "runghc Setup configure", the Haskell bindings will be configured to install to /usr/local. The configure script will look for your LLVM installation in that same directory.
If you have LLVM installed in a different location, e.g. /usr, you can tell the configure script where to find it as follows:
runghc Setup configure --configure-option=--with-llvm-prefix=/usr
Package status - what to expect
This package is still under development.
The high level bindings are currently incomplete, so there are some limits on what you can do. Adding new functions is generally easy, though, so don't be afraid to get your hands dirty.
The high level interface is mostly safe, but the type system cannot protect against everything that can go wrong, so take care. And, of course, there's no way to guarantee anything about the generated code.
Jump in and help!
We welcome your comments and contributions. You can send email to us at bos@serpentine.com or lennart@augustsson.net. If you want to send patches, please get a copy of the darcs repository:
darcs get http://darcs.serpentine.com/llvm
Thanks!