Skip to content
المشاريع

حول

A Rust SDK for building runtimes, with a state-machine lexer, a single-pass SSA parser and a tiered register VM.

لغات البرمجة وبيئات التشغيل

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
؜-١
خلال 15 يومًا
؜-١
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

interpreter

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

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…