dylan-sutton-chavez/interpreter
À propos
A Rust SDK for building runtimes, with a state-machine lexer, a single-pass SSA parser and a tiered register VM.
Langages et environnements d’exécutionProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
Originalinterpreter
interpreter is a Rust crate for building language runtimes. You write a token table, the rules of your language and the natives its programs call, and the crate gives you a lexer, a single-pass parser that writes bytecode with no AST, and a register VM with an op budget, an exact memory meter, a garbage collector and snapshots. A runtime compiles to one WebAssembly module that runs in a web page and in the interpreter CLI, and the same crate links into a Rust program.
Overview installs the crate, the CLI and Lox, the runtime the docs run, and CONTRIBUTING.md covers building from a clone.
Docs
| Page | Covers |
|---|---|
| Overview | What the crate holds, how to install it and the CLI, and Lox |
| Build a runtime | A whole runtime, its token table, natives and language |
| Grammar | Forms, readings and patterns a runtime adds to the parser |
| Rust | Running programs inside a Rust program |
| JavaScript | Running a runtime's .wasm in a page, and the ABI any host drives |
| CLI | The commands, packages, grants, actors and a CLI of your own |
| Errors and limits | How errors read and every limit a run has |
| Plugins | Writing a .wasm plugin |
| Stability | What a 1.x release keeps, the exceptions, and how the formats and the ABI evolve |
License
Apache 2.0 for every directory of the repo, as LICENSE.md sets out. The book's tests in examples/lox/tests/suite and its benchmarks in bench/cases/book keep their own MIT license, written beside them.
Sponsors
- PyneSys, since May 2026
Explorer des projets similaires
Chargement…