[haskell-llvm] A simplified LLVM binding

Henning Thielemann lemming at henning-thielemann.de
Tue Oct 11 20:19:22 BST 2011


On Tue, 11 Oct 2011, Karacsony Mate wrote:

> I need a simple haskell LLVM binding, that doesn't require the LLVM libraries (it's difficult to install
> them on windows, etc). "Simple" means that I need only a subset of the current functionality (eg.
> arithmetics, control structures, array handling). LLVM assemlby code generation is also good enough.
> 
> Does anybody know about a binding like this, or is it possible to simplify the current implementation and
> remove the FFI calls from it?

If you remove FFI calls from the 'llvm' package nothing would be left. The 
'llvm' package even generates LLVM assembly instructions by calling 
functions from the LLVM library. There is no place in the library where 
LLVM assembly code is contained in a Haskell string.



More information about the Haskell-llvm mailing list