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 0.8.2.0: Support for GHC calling convention.

  • New in 0.8.1.0: Numerous small changes.

  • New in 0.8.0.0: Adapted to LLVM 2.7;

  • New in 0.7.1.0: More attributes

  • New in 0.7.0.1: MacOS fixes.

  • New in 0.7.0.0: Adapted to LLVM 2.6;

  • New in 0.6.8.0: Add functions to allow freeing function resources;

  • New in 0.6.7.0: Struct types;

  • New in 0.6.6.0: Bug fixes;

  • New in 0.6.5.0: Adapted to LLVM 2.5;


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.0.2, 0.4.0.0, 0.4.0.1, 0.4.0.3, 0.4.1.0, 0.4.2.0, 0.4.4.1, 0.4.4.2, 0.5.0.1, 0.6.0.2, 0.6.0.3, 0.6.2.0, 0.6.3.0, 0.6.4.0, 0.6.5.0, 0.6.6.0, 0.6.7.0, 0.6.8.0, 0.7.0.0, 0.7.0.1, 0.7.1.0, 0.7.1.1, 0.7.1.2, 0.8.0.2, 0.8.1.0, 0.8.2.0, 0.9.0.1, 0.9.1.0, 0.9.1.1, 0.9.1.2, 0.10.0.0, 0.10.0.1, 3.0.0.0, 3.0.1.0, 3.2.0.0, 3.2.0.1, 3.2.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 http://code.haskell.org/llvm/
Bug tracker Lennart Augustsson <lennart@augustsson.net>
Source repo head: darcs get http://code.haskell.org/llvm/
Uploaded by BryanOSullivan at 2010-10-04T05:30:32Z
Distributions
Reverse Dependencies 5 direct, 59 indirect [details]
Downloads 27362 total (66 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-0.8.2.0

[back to package description]
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:

  http://llvm.org/


Configuration
-------------

By default, when you run "cabal install" or "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:

  cabal install --configure-option=--with-llvm-prefix=/usr

  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://code.haskell.org/llvm/

Thanks!