llvm-codegen
LLVM code generation in Haskell (by luc-tielen)
eclair-lang
A minimal, fast Datalog implementation in Haskell that compiles to LLVM IR (by luc-tielen)
llvm-codegen | eclair-lang | |
---|---|---|
2 | 4 | |
54 | 222 | |
- | 0.0% | |
4.2 | 8.4 | |
6 months ago | over 1 year ago | |
Haskell | Haskell | |
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.
eclair-lang
Posts with mentions or reviews of eclair-lang.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-04-20.
-
Should I abandon using haskell for my compiler?
/u/ltielen's Éclair language targets LLVM and is actively maintained, so I'd look at that implementation's LLVM setup.
- An experimental and minimal Datalog implementation that compiles down to LLVM
- [Hacktoberfest] Beginner-friendly Haskell contributions
-
Efficient logic programming in Haskell?
For these reasons I've been building eclair, which is another high performance Datalog compiler written in Haskell, that compiles to LLVM, and is also based on Souffle. So far it is still in a fairly early stage, but I'm making progress. :)
What are some alternatives?
When comparing llvm-codegen and eclair-lang you can also consider the following projects:
kaleidoscope
guanxi - Relational programming in Haskell. Mostly developed on twitch.
llvm-hs - Haskell bindings for LLVM
souffle-haskell - Haskell bindings for the Souffle datalog language