llvm-general: General purpose LLVM bindings

[ bsd3, code-generation, compilers-interpreters, library ] [ Propose Tags ]

llvm-general 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.

Versions [faq] 0.1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
Dependencies array (>=, base (>=3 && <5), bytestring (>=, containers (>=, mtl (>=, parsec (>=3.1.3), setenv (>=0.1.0), template-haskell (>=, text (>=, transformers (>= [details]
License BSD-3-Clause
Copyright Benjamin S. Scarlet 2013
Author Benjamin S.Scarlet <fgthb0@greynode.net>
Maintainer Benjamin S. Scarlet <fgthb0@greynode.net>
Category Compilers/Interpreters, Code Generation
Source repo head: git clone git://github.com/bscarlet/llvm-general.git
this: git clone git://github.com/bscarlet/llvm-general.git -b llvm-3.3(tag v3.3.0.3)
Uploaded by BenjaminScarlet at 2013-06-27T13:08:26Z
Distributions NixOS:
Downloads 70426 total (21 in the last 30 days)
Rating 2.25 (votes: 2) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs not available [build log]
All reported builds failed as of 2016-12-21 [all 7 reports]


  • LLVM
    • LLVM.General
      • LLVM.General.AST
        • LLVM.General.AST.AddrSpace
        • LLVM.General.AST.Attribute
        • LLVM.General.AST.CallingConvention
        • LLVM.General.AST.Constant
        • LLVM.General.AST.DataLayout
        • LLVM.General.AST.Float
        • LLVM.General.AST.FloatingPointPredicate
        • LLVM.General.AST.Global
        • LLVM.General.AST.InlineAssembly
        • LLVM.General.AST.Instruction
        • LLVM.General.AST.IntegerPredicate
        • LLVM.General.AST.Linkage
        • LLVM.General.AST.Name
        • LLVM.General.AST.Operand
        • LLVM.General.AST.RMWOperation
        • LLVM.General.AST.Type
        • LLVM.General.AST.Visibility
      • LLVM.General.CodeGenOpt
      • LLVM.General.CodeModel
      • LLVM.General.CommandLine
      • LLVM.General.Context
      • LLVM.General.Diagnostic
      • LLVM.General.ExecutionEngine
      • LLVM.General.Module
      • LLVM.General.PassManager
      • LLVM.General.Relocation
      • LLVM.General.Target
        • LLVM.General.Target.Options
      • LLVM.General.Transforms



link against llvm shared rather than static library


compile C(++) shims with debug info for ease of troubleshooting


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees