marwood
An embeddable Scheme R7 Compiler & Runtime written in Rust (by strtok)
inko
By gitlab-inko-lang
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.
marwood
Posts with mentions or reviews of marwood.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-16.
-
You had my upvote at Lisp :P
https://github.com/strtok/marwood checkmate liberal
-
I wrote a Scheme R7 Compiler+VM in Rust called Marwood
GitHub
-
I wrote a scheme in Rust called Marwood
I have implemented a Scheme R7 compiler & virtual machine in Rust called [Marwood](https://github.com/strtok/marwood/).
-
I want to make a toy LISP
Check out this project marwood that started recently with is Scheme WASM compiler written in Rust. It's a new project so it probably will be simple to get familiar with.
-
How to write a compiler or interpreter in rust
The lexer can be found here and parser here.
inko
Posts with mentions or reviews of inko.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-26.
-
v0.10.0 of Inko, a statically typed language written in Rust, is released
Performance at the moment is a bit iffy. In theory Inko should be able to outperform Wren and Lua, but in practice method calls are a bit too expensive due to how stack frames are managed (see this issue for some details). Adding a set of benchmarks is definitely something I want to do, but I just haven't gotten to it yet.
- After 1.5 years of work, Inko's single ownership and concurrency changes are merged
-
How to write a compiler or interpreter in rust
You can use Inko as a reference, as its VM is written in Rust. I do recommend using this branch instead of the latest release, as there are a lot of upcoming changes to the language as a whole.
-
Implicit Overflow Considered Harmful (and how to fix it)
Code wise it requires either a ton of code, or a whole bunch of macros. I used the latter approach (see here). Even after optimising this, you'll still end up with a bucket of extra code/macros.
-
Root scope of language when implementing standard library vs using the language anywhere else.
Various modules use VM instructions to access built-in functionality, such as adding integers. Here is an example. The compiler transforms these into actual instructions (bytecode wise). So _INKOC.foo_bar basically means "run the foo_bar instruction".
-
What are the best ways programming languages address and solve the expression problem?
Probably the most common approach in a statically typed language is to use some form of pattern matching. For Inko I do exactly that in its type checker (example here). Prior to this I was using the visitor pattern using double dispatch, but this was painful to work with. The pattern matching approach is type-safe, quite easy to extend, and easy to wrap your head around.
-
Fun with IP address parsing
I wrote some IPv4 and IPv6 parsing code before, but wasn't aware of the various crazy IPv4 formats.
-
Inko 0.9.0 released, featuring generators, pattern matching, the removal of nullable types, a brand new manual, and much more
Resuming a generator is pretty simple too: take the generator, swap it with the current one, then set its parent to the previous generator (the one we just swapped out).
What are some alternatives?
When comparing marwood and inko you can also consider the following projects:
rust-langdev - Language development libraries for Rust
schism - A self-hosting Scheme to WebAssembly compiler
Oga - Oga is an XML/HTML parser written in Ruby.
wisp - Lisp in WebAssembly
cranelift-jit-demo - JIT compiler and runtime for a toy language, using Cranelift
IchigoLisp - LISP 1.5(-ish) implementation in WebAssembly
sbcl - Mirror of Steel Bank Common Lisp (SBCL)'s official repository
lisp-rs - A LISP interpreter written in Rust.
nom - Rust parser combinator framework
TablaM - The practical relational programing language for data-oriented applications