llvm: Bindings to the LLVM compiler toolkit.

[ bsd3, code-generation, compilers-interpreters, deprecated, library ] [ Propose Tags ]
Deprecated in favor of llvm-hs, llvm-general, llvm-tf

Bindings to the LLVM compiler toolkit.

  • New in Builds against LLVM 2.9.

  • New in Util.Memory for memory related intrinsics

  • New in Adapted to LLVM 2.8 (removed support for Union types);

  • New in Support for GHC calling convention.

  • New in Numerous small changes.

  • New in Adapted to LLVM 2.7;

  • New in More attributes

  • New in MacOS fixes.

  • New in Adapted to LLVM 2.6;

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.0.2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies base (>=3 && <5), bytestring (>=0.9), directory, mtl, process, type-level [details]
License BSD-3-Clause
Author Bryan O'Sullivan, Lennart Augustsson
Maintainer Bryan O'Sullivan <bos@serpentine.com>, Lennart Augustsson <lennart@augustsson.net>
Category Compilers/Interpreters, Code Generation
Home page https://github.com/bos/llvm
Bug tracker https://github.com/bos/llvm/issues
Source repo head: git clone https://github.com/bos/llvm/
head: hg clone https://github.com/bos/llvm/
Uploaded by BryanOSullivan at 2011-05-19T18:21:07Z
Reverse Dependencies 5 direct, 59 indirect [details]
Downloads 27478 total (101 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for llvm-

[back to package description]

Haskell LLVM bindings

This package provides Haskell bindings for the popular LLVM compiler infrastructure project.


By default, when you run cabal install, the Haskell bindings will be configured to look for LLVM in /usr/local.

If you have LLVM installed in a different location, e.g. /usr, you can tell the configure script where to find it as follows:

cabal install --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 clone a copy of the git repository:

git clone git://github.com/bos/llvm