llvm-codegen
LLVM code generation in Haskell (by luc-tielen)
kaleidoscope
By andrescollares
llvm-codegen | kaleidoscope | |
---|---|---|
2 | 1 | |
54 | 11 | |
- | - | |
4.2 | 8.4 | |
6 months ago | 5 days ago | |
Haskell | Haskell | |
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.
kaleidoscope
Posts with mentions or reviews of kaleidoscope.
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
We currently have all of the kaleidoscope chapters working for LLVM 12 using llvm-hs, you can check the code here: https://github.com/andrescollares/kaleidoscope, the project is not tidy at all yet but you can get it up and running quickly given that the environment is containerized.
What are some alternatives?
When comparing llvm-codegen and kaleidoscope you can also consider the following projects:
eclair-lang - A minimal, fast Datalog implementation in Haskell that compiles to LLVM IR
llvm-hs - Haskell bindings for LLVM
kaleidoscope - Haskell LLVM JIT Compiler Tutorial