rlox
VM and compiler for the Lox programming language (http://craftinginterpreters.com) implemented in Rust (by ThomasBollmeier)
boba
A general purpose statically-typed concatenative programming language. (by glossopoeia)
rlox | boba | |
---|---|---|
3 | 9 | |
0 | 48 | |
- | - | |
0.0 | 2.3 | |
over 1 year ago | about 1 year ago | |
Rust | F# | |
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.
rlox
Posts with mentions or reviews of rlox.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-07-31.
-
Where should I start from Crafting Interpreters if I want to skip the Java implementation?
It's actually the other way round: part one implements an AST walking interpreter in Java while the second part builds an interpreter in C with compilation to byte code for a virtual machine that is also developed from scratch. Currently I try to build the second part solution in Rust (https://github.com/thomasbollmeier/rlox).
-
August 2022 monthly "What are you working on?" thread
Great, I do the same:-). I have however only proceeded with my implementation to the Pratt expression parsing so far: https://github.com/thomasbollmeier/rlox
-
Bytecode from AST?
I have just started with a rust implementation of the VM and the interpreter from part 2 (https://github.com/ThomasBollmeier/rlox). While following the book I wonder if it wouldn't be easier to build on the interpreter from part 1 and just emit bytecode while traversing the AST.
boba
Posts with mentions or reviews of boba.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-03.
-
AG unification is the solution for type inference with scientific units
I've done a small implementation, used in type inference, in my language Boba. And you are correct, I used the linear equation solving method.
-
November 2022 monthly "What are you working on?" thread
The vast majority of October's improvements on Boba were type system and runtime bug fixes. In particular, the effect handler/delimited continuation semantics were hopelessly busted beyond a few simple examples I'd fixated on.
-
October 2022 monthly "What are you working on?" thread
September was another productive month for Boba, which is starting to get more 'quality of life' improvements rather than broad new features. That doesn't make the work less important: one of the bug fixes to the type inference engine last month caught a previously unseen bug in the core Boba libraries!
-
Unit Type System
Also worth checking out is Adam Gundry's work on type inference for UoM types. Or, if you want an example implementation of the Abelian unification used in standard type inference extended with UoM types, you can reference my implementation, based on solving linear equations.
-
September 2022 monthly "What are you working on?" thread
August was a surprisingly productive month for the Boba compiler. A few highlights:
-
August 2022 monthly "What are you working on?" thread
The next large feature for Boba (a general-purpose concatenative language) is language integrated property tests.
-
Soft-launch Boba: a statically-typed concatenative programming language
That's a good question! I wrote up some of my thoughts on the benefits of Go as a backend, but there's also a historical component here. The first backend I was experimenting with was compile-to-C plus a C-based runtime. Go was closer to C than C# for what I needed at the time and I thought had a nicer concurrency story as a backend.
What are some alternatives?
When comparing rlox and boba you can also consider the following projects:
Charm-MacOS - MacOS executable for Charm
Forscape - Scientific computing language
kuroko - Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.
wort - A core concatenative programming language with variables and first-rank polymorphic type inference
butter - A tasty language for building efficient software. WIP
awesome-low-level-programming-languages - A curated list of low level programming languages (i.e. suitable for OS and game programming)
outrun
xvm - Ecstasy and XVM
minithesis - A very minimal implementation of the core idea of Hypothesis
ShnooTalk - ShnooTalk is a new programming language