Stak Scheme in WebAssembly
npm install @raviqqe/stak




The miniature, embeddable R7RS Scheme implementation in Rust
Stak Scheme aims to be:
- An embeddable Scheme interpreter for Rust with very small memory footprint and reasonable performance
- Its virtual machine (VM) is written in only 1.5 KLOC in Rust.
- The minimal implementation of [the R7RS-small standard][r7rs-small]
- A subset of Chibi Scheme, Gauche, and Guile
- A portable scripting environment that supports even no-std and no-alloc platforms
For the usage and examples, see the documentation.
To install the interpreter and REPL, run:
``sh`
cargo install stak
cargo install stak-repl
To install the minimal interpreter, run:
`sh`
cargo install mstak
To install Stak Scheme as a library in your Rust project, run:
`sh``
cargo add stak
cargo add --build stak-build
cargo install stak-compile
See Performance.
See Limitations.
- This project is based on [Ribbit Scheme][ribbit], the small and portable R4RS implementation.
- [Scheme programming language][scheme]
- [The R7RS-small standard][r7rs-small]
[scheme]: https://www.scheme.org/
[r7rs-small]: https://small.r7rs.org/
[ribbit]: https://github.com/udem-dlteam/ribbit