luc-tielen/llvm-codegen

LLVM code generation in Haskell

Haskell

55

146 commits

updated Oct 30, 2024

See the code

README

llvm-codegen

build

A Haskell library for generating LLVM code. Inspired by the llvm-hs, llvm-hs-pure, llvm-hs-combinators and the llvm-hs-pretty libraries.

NOTE: WIP, but if you only need the provided instructions it's usable (and tested). Used inside the eclair compiler.

Note that it requires LLVM to be installed on your system and available on your $PATH!

Why another LLVM library?

  • Support for the latest LLVM (!)
  • Support for latest GHCs

TODO

  • Add support for remaining instructions as needed
  • SIMD support, combinators
  • Support API with more compile time checks?
  • Documentation

Contributors

luc-tielen

131 commits

kpadmasola

11 commits

smunix

4 commits

luc-tielen/llvm-codegen

LLVM code generation in Haskell

Haskell

55

146 commits

updated Oct 30, 2024

See the code

README

llvm-codegen

build

A Haskell library for generating LLVM code. Inspired by the llvm-hs, llvm-hs-pure, llvm-hs-combinators and the llvm-hs-pretty libraries.

NOTE: WIP, but if you only need the provided instructions it's usable (and tested). Used inside the eclair compiler.

Note that it requires LLVM to be installed on your system and available on your $PATH!

Why another LLVM library?

  • Support for the latest LLVM (!)
  • Support for latest GHCs

TODO

  • Add support for remaining instructions as needed
  • SIMD support, combinators
  • Support API with more compile time checks?
  • Documentation

Contributors

luc-tielen

131 commits

kpadmasola

11 commits

smunix

4 commits

Languages

Haskell

97.3%

Nix

2.4%