raviqqe/stak

The miniature, embeddable R7RS Scheme implementation

Rust

137

3,759 commits

updated Sep 22, 2026

See the code

README

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

no-alloc
no-std
rust
scheme
script

Contributors

dependabot[bot]

1,913 commits

raviqqe

1,843 commits

lleukkun

3 commits

raviqqe/stak

The miniature, embeddable R7RS Scheme implementation

Rust

137

3,759 commits

updated Sep 22, 2026

See the code

README

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

no-alloc
no-std
rust
scheme
script

Contributors

dependabot[bot]

1,913 commits

raviqqe

1,843 commits

lleukkun

3 commits

Languages

Rust

35.4%

Gherkin

33.2%

Scheme

29.4%

Shell

1.8%