80 releases

Uses new Rust 2024

new 0.12.10 Jan 17, 2026
0.12.4 Dec 30, 2025
0.11.11 Nov 29, 2025
0.10.33 Jul 28, 2025
0.1.1 Dec 31, 2024

#1703 in Programming languages

Download history 862/week @ 2025-09-25 1493/week @ 2025-10-02 189/week @ 2025-10-09 261/week @ 2025-10-16 387/week @ 2025-10-23 542/week @ 2025-10-30 651/week @ 2025-11-06 242/week @ 2025-11-13 248/week @ 2025-11-20 1688/week @ 2025-11-27 1960/week @ 2025-12-04 1101/week @ 2025-12-11 928/week @ 2025-12-18 1559/week @ 2025-12-25 1542/week @ 2026-01-01 883/week @ 2026-01-08

5,487 downloads per month
Used in 18 crates (via stak-r7rs)

MIT license

84KB
2K SLoC

Stak Scheme

GitHub Action Crate Codecov CodSpeed License

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
  • A portable scripting environment that supports even no-std and no-alloc platforms

For the usage and examples, see the documentation.

Install

Commands

To install the interpreter and REPL, run:

cargo install stak
cargo install stak-repl

To install the minimal interpreter, run:

cargo install mstak

Libraries

To install Stak Scheme as a library in your Rust project, run:

cargo add stak
cargo add --build stak-build
cargo install stak-compile

Performance

See Performance.

Limitations

See Limitations.

References

License

MIT

Dependencies

~1–1.6MB
~29K SLoC