llrl
An experimental Lisp-like programming language (by yubrot)
molten
An LLVM compiler for an ML-like language (written in Rust) (by transistorfet)
llrl | molten | |
---|---|---|
1 | 2 | |
144 | 52 | |
- | - | |
10.0 | 1.8 | |
about 1 year ago | about 2 years ago | |
Rust | Rust | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 only |
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.
llrl
Posts with mentions or reviews of llrl.
We have used some of these posts to build our list of alternatives
and similar projects.
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
What are some alternatives?
When comparing llrl and molten you can also consider the following projects:
inko - A language for building concurrent software with confidence
gecko - Strongly-typed, general purpose programming language based on Rust
brainfk-rs - Compiles brainfuck to wasm!!
ante - A safe, easy systems language
bfc - An industrial-grade brainfuck compiler
unlisp-llvm - Compiler for a toy Lisp language
hado-rs
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