slang-v2
blip
Our great sponsors
slang-v2 | blip | |
---|---|---|
6 | 1 | |
23 | 0 | |
- | - | |
0.0 | 0.0 | |
almost 3 years ago | almost 3 years ago | |
Rust | Rust | |
- | 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.
slang-v2
-
So about the right way to write an interpreter
The code that does this in Slang is here: https://github.com/mkhan45/slang-v2/blob/master/src/parser/for_parse.rs
-
A tiny stack based VM in Rust
Some of the design choices here might be a little strange, but I tried to explain them in comments. It runs quite fast (as expected since it only supports one datatype), and I've written a really rudimentary janky compiler for it. I plan on writing a more fleshed out compiler that takes advantage of all of its features whenever I have time.
- I wrote a simple scripting language in Rust
- I a simple scripting language interpreter in rust
-
What's everyone working on this week (3/2021)?
I'm probably done with this for the forseeable future as of today but I've just made my first scripting language interpreter: https://github.com/mkhan45/slang-v2.
blip
What are some alternatives?
cranelift-jit-demo - JIT compiler and runtime for a toy language, using Cranelift
crafting-interpreters-rs - Crafting Interpreters in Rust
jupyter-rust - a docker container for jupyter notebooks for rust
RustPython - A Python Interpreter written in Rust
ellalang-playground - A interactive and online playground for https://github.com/lukechu10/owllang.
termchat - Terminal chat through the LAN with video streaming and file transfer.
ferrumfix - Financial Information eXchange protocol implemented in Rust
enso - Hybrid visual and textual functional programming.
zknotes - Zettelkasten implemented in rust, elm
boa - Boa is an embeddable and experimental Javascript engine written in Rust. Currently, it has support for some of the language.