llvm-codegen
LLVM code generation in Haskell (by luc-tielen)
llvm-hs
Haskell bindings for LLVM (by llvm-hs)
llvm-codegen | llvm-hs | |
---|---|---|
2 | 4 | |
54 | 518 | |
- | 0.4% | |
4.2 | 0.0 | |
6 months ago | 9 months ago | |
Haskell | LLVM | |
BSD 3-clause "New" or "Revised" License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
llvm-codegen
Posts with mentions or reviews of llvm-codegen.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-02.
-
Is it viable to develop a compiler in haskell that uses LLVM
I used my own llvm-codegen library (https://github.com/luc-tielen/llvm-codegen) for this, it supports up to llvm14 but planning to upgrade to the latest as soon as I finish the docs for the eclair website. :)
-
Should I abandon using haskell for my compiler?
It looks like /u/ltielen decided to write his own LLVM library targeting the latest LLVM, so I guess he saw the same issues you are seeing with the llvm-hs bindings and decided to create his own.
llvm-hs
Posts with mentions or reviews of llvm-hs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-02.
-
Is it viable to develop a compiler in haskell that uses LLVM
The llvm-hs GitHub has branches for LLVM 12 and even LLVM 15. I believe the LLVM 12 version works pretty well, but I am not sure of the LLVM 15 version.
-
Should I abandon using haskell for my compiler?
Looking at the network graph, it looks like there are forks which mention llvm-12 branches, which may be more up to date.
-
Monthly Hask Anything January 2021
I found this in the readme of llvm-hs:
What are some alternatives?
When comparing llvm-codegen and llvm-hs you can also consider the following projects:
eclair-lang - A minimal, fast Datalog implementation in Haskell that compiles to LLVM IR
llvm-pretty - An llvm pretty printer inspired by the haskell llvm binding