rlox
VM and compiler for the Lox programming language (http://craftinginterpreters.com) implemented in Rust (by ThomasBollmeier)
tailspin-v0
A programming language with extreme data-pattern matching and data-declarative syntax, hopefully different enough to be interesting (by tobega)
rlox | tailspin-v0 | |
---|---|---|
3 | 16 | |
0 | 34 | |
- | - | |
0.0 | 7.5 | |
over 1 year ago | 3 months ago | |
Rust | Java | |
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.
tailspin-v0
Posts with mentions or reviews of tailspin-v0.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-12-09.
- What languages have you learnt with AoC and now you love...or ended as "meh"?
-
Advent of Code 2023 in your language
I eventually tend to do all days in Tailspin. The ones I have done so far are in directories ending in "tt" (the others are in Pyret, just to get a feel for it) https://github.com/tobega/aoc2023/tree/main
-
I have great difficulties
As a general tip, it is often helpful to first try to think of how you would like to represent the data in your program. Then you need to parse the data into that structure. I'd recommend you to look at a PEG-parser, for example. Or if you like, look at my Tailspin programming language which has a very visual parser syntax and also very visual ways of creating data structures (if that should happen to be your mental affinity). Look at my day1 for example. Or if you're more mathematical, maybe a functional language (I also did day1 in Pyret)
-
An idea for a language focused around RxJs
My Tailspin language is based on processing streams of values, you might want to look at it https://github.com/tobega/tailspin-v0
-
[2022 Day 7] Solved in three different styles
Many people had trouble with the day 7 problem. Paradoxically, good developers probably had more trouble. Here some of the difficulties are explained and implementations are provided in imperative, functional and OO styles, written in the Tailspin programming language.
-
What codebases have the best or most educational unit/integration tests when implementing a programming language?
I test almost entirely from my language, that way the tests are independent of the implementation. Currently the tests are implemented in java because that fits the interpreter implementation https://github.com/tobega/tailspin-v0/tree/master/test/tailspin/samples
-
August 2022 monthly "What are you working on?" thread
Finished off the implementation of typed and offset array indices in Tailspin
-
March 2022 monthly "What are you working on?" thread
I ended up enabling left recursion in Tailspin's composer (parser) syntax. Much cleaner calculator example now.
-
Diamonds in the Rough : An Honest Trial for any Language
I think it's possible that Tailspin might be suitable for you.
-
Introducing Skiff, a gradually typed functional language written in Rust
I think gradual typing is definitely something worth exploring more. I thought it was a shame when Dart abandoned that path. Have you seen Shen ? I guess my small offering, Tailspin, is currently evolving to gradual typing as well.
What are some alternatives?
When comparing rlox and tailspin-v0 you can also consider the following projects:
boba - A general purpose statically-typed concatenative programming language.
Argon - Argon programming language
Charm-MacOS - MacOS executable for Charm
never - Never: statically typed, embeddable functional programming language.
kuroko - Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.
butter - A tasty language for building efficient software. WIP
bluebird - A work-in-progess programming language modeled after Ada and C++
awesome-low-level-programming-languages - A curated list of low level programming languages (i.e. suitable for OS and game programming)
outrun
Odin - Odin Programming Language