shiranui

Incomplete Scheme R7RS implementation in Rust

APACHE-2.0 License

Stars
6
Committers
1

An incomplete Scheme R7RS interpreter in Rust

An incomplete attempt at a Scheme interpreter written in the Rust programming language.

TODO

  • Garbage collector
  • Parser
  • Basic interpreter
  • Byte code compiler
  • Stack-based byte code VM
  • Hygienic macros
  • Derived expressions (e.g. case, let, do)
  • Standard procedures
  • REPL

See the TODO.md file for additional details.

About the name

To be completely honest, I had in mind the legendary creature of Japan, rather than the fictional female fighter, Mai Shiranui. Several of my projects are named after legendary creatures of Japan and this was just another name in the long list.

Why Rust and not Go?

The astute reader will notice that I have a similar project written in Go (bakeneko, another legendary creature from Japan). So why stop working on that one and start another in a new language? Let me count the ways...

Other Scheme interpreters in Rust

There are a ton of them, but not all of them are complete, and most are not shooting for R7RS small language completeness. Besides, this project is for fun, not novelty.