molten
An LLVM compiler for an ML-like language (written in Rust) (by transistorfet)
unlisp-llvm
Compiler for a toy Lisp language (by OlegTheCat)
molten | unlisp-llvm | |
---|---|---|
2 | 1 | |
52 | 62 | |
- | - | |
1.8 | 10.0 | |
about 2 years ago | about 4 years ago | |
Rust | Rust | |
GNU General Public License v3.0 only | MIT 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.
molten
Posts with mentions or reviews of molten.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-03.
-
Best practices for AST design in Rust?
I second looking at the rust compiler. It splits various AST elements into a struct and enum, where the enum is a 'Kind' (eg. Expr for struct which contains an ExprKind enum). That allows things like line numbers and other common data to be easily fetched from the struct and variant-specific values can be stored in the enum, which can be pattern matched. I did a similar thing in a compiler I made a while ago here https://github.com/transistorfet/molten/blob/main/src/analysis/hir.rs
-
How good is LLVM in other languages other than C++? (In my case I'm interested in using Rust)
I managed to write an ocaml-like language compiler in Rust using llvm-sys (which uses the LLVM C API) without too much trouble. It may not be the fastest but it's fairly feature cobplete. The code is at https://github.com/transistorfet/molten
unlisp-llvm
Posts with mentions or reviews of unlisp-llvm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-03.
What are some alternatives?
When comparing molten and unlisp-llvm you can also consider the following projects:
gecko - Strongly-typed, general purpose programming language based on Rust
ante - A safe, easy systems language
llrl - An experimental Lisp-like programming language
oktac - okta programming language compiler. THIS IS A MIRROR OF THE ORIGINAL REPO HOSTED IN SOURCEHUT.
rust - Empowering everyone to build reliable and efficient software.
progge.rs - Program analysis playground for a simple, imperative language
inko - A language for building concurrent software with confidence
lltz - LLTZ: Compiler from MLIR to Michelson
riju - ⚡ Extremely fast online playground for every programming language.
blazex - AOT compiled object oriented programming language
inkwell - It's a New Kind of Wrapper for Exposing LLVM (Safely)