sprachli
rlox
sprachli | rlox | |
---|---|---|
2 | 3 | |
2 | 0 | |
- | - | |
0.0 | 0.0 | |
about 1 year ago | over 1 year ago | |
Rust | Rust | |
MIT License | GNU General Public License v3.0 only |
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.
sprachli
-
Guidance on polymorphism in regards to trying to make a programming language
If you want some inspiration, this is what my Value enum looks like: https://github.com/SillyFreak/sprachli/blob/main/src/vm/value.rs
-
August 2022 monthly "What are you working on?" thread
I'm working on Sprachli, just for fun. It's currently a very simple imperative language with rust-like syntax and a bytecode VM, with only string numbers and booleans supported and those not comprehensively. I plan to evolve this either in the direction of a simple scripting language that could be embedded e.g. as an spreadsheet-style formula language, or on the completely opposite side of the spectrum a statically typed language to experiment with the Hindley-Milner type system and effect. So yeah, not much tere yet, but I'm enjoying the work
rlox
-
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.
What are some alternatives?
kuroko - Dialect of Python with explicit variable declaration and block scoping, with a lightweight and easy-to-embed bytecode compiler and interpreter.
boba - A general purpose statically-typed concatenative programming language.
TablaM - The practical relational programing language for data-oriented applications
Charm-MacOS - MacOS executable for Charm
Forscape - Scientific computing language
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
minithesis - A very minimal implementation of the core idea of Hypothesis
raylib - A simple and easy-to-use library to enjoy videogames programming