book
Writing Interpreters in Rust: a Guide (by rust-hosted-langs)
sphinx-lang
An intepreter for a simple dynamic language written in Rust (by mwerezak)
book | sphinx-lang | |
---|---|---|
4 | 12 | |
502 | 291 | |
0.8% | 0.3% | |
3.6 | 1.8 | |
3 months ago | 9 months ago | |
Rust | Rust | |
Creative Commons Attribution 4.0 | 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.
book
Posts with mentions or reviews of book.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-24.
-
I'm wanting to write my first compiler, but getting a little bit mixed up in general.
Kind of an interpreter but it does compile to bytecode and is written in rust https://github.com/rust-hosted-langs/book I thought it was a great tutorial, both for learning rust, and about compilers
-
Best resources for a rust interpreter?
Then go to: - rust-hosted-langs/book: Writing Interpreters in Rust: a Guide or https://craftinginterpreters.com/
-
I'm building a dynamic language in Rust
https://github.com/rust-hosted-langs/book is a work in progress
sphinx-lang
Posts with mentions or reviews of sphinx-lang.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-07-31.
-
Crafting Interpreters with Rust: On Garbage Collection
I did something very similar to this myself. My GC implementation was pretty heavily inspired by manishearth's Rust GC.
My swing at the Crafting Intepreters in Rust can be found here: https://github.com/mwerezak/sphinx-lang
Although, at the time I was really interested in Lua's syntax so for extra credit I designed a completely different syntax for Lox.
I'd love to revisit this project sometime and implement a register-based VM similar to Lua's.
- Sphinx-Lang - An intepreter for a simple dynamic language written in rust
- An intepreter for a simple dynamic language written in Rust
-
Hacker News top posts: Apr 25, 2022
Show HN: I'm making a dynamic language in Rust\ (27 comments)
- Show HN: I'm making a dynamic language in Rust
- GitHub - mwerezak/sphinx-lang: An intepreter for a simple dynamic language written in Rust
-
I'm building a dynamic language in Rust
Github: https://github.com/mwerezak/sphinx-lang
What are some alternatives?
When comparing book and sphinx-lang you can also consider the following projects:
luxya - Programming language with a tree-walking interpreter written in Rust©™.
Mooncraft2000 - Web-based lunar voxel game.
mmtk-core - Memory Management ToolKit
grain - The Grain compiler toolchain and CLI. Home of the modern web staple. 🌾
simple-chunk-allocator - A simple allocator written in Rust that manages memory in fixed-size chunks.
loxido - Rust implementation of the Lox programming language