72 releases

Uses new Rust 2024

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.10.11 Mar 31, 2025

#1666 in Programming languages

Download history 220/week @ 2025-10-11 155/week @ 2025-10-18 287/week @ 2025-10-25 798/week @ 2025-11-01 363/week @ 2025-11-08 170/week @ 2025-11-15 649/week @ 2025-11-22 1647/week @ 2025-11-29 1592/week @ 2025-12-06 1000/week @ 2025-12-13 1121/week @ 2025-12-20 1521/week @ 2025-12-27 1359/week @ 2026-01-03 821/week @ 2026-01-10 434/week @ 2026-01-17 450/week @ 2026-01-24

3,230 downloads per month
Used in stak

MIT license

230KB
5K SLoC

Rust 4.5K SLoC // 0.0% comments Scheme 640 SLoC // 0.0% comments

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

~4–18MB
~213K SLoC