oktac
okta programming language compiler. THIS IS A MIRROR OF THE ORIGINAL REPO HOSTED IN SOURCEHUT. (by mikelma)
molten
An LLVM compiler for an ML-like language (written in Rust) (by transistorfet)
oktac | molten | |
---|---|---|
1 | 2 | |
28 | 52 | |
- | - | |
2.7 | 1.8 | |
about 2 years ago | about 2 years ago | |
Rust | Rust | |
GNU General Public License v3.0 only | 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.
oktac
Posts with mentions or reviews of oktac.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-30.
-
okta-lang v0.2.0 release!
If you like the project, consider giving a star in GitHub <3
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 oktac and molten you can also consider the following projects:
llrl - An experimental Lisp-like programming language
gecko - Strongly-typed, general purpose programming language based on Rust