A DSL for generating bytecode definitions and fast tail-call dispatched interpreter
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| bytecodegen-macros | ||
| examples | ||
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
BytecodeGen: DSL for generating bytecode encoding, decoding and interpreters.
A Rust DSL for building efficient bytecode interpreters with minimal boilerplate. Provides macro-based code generation for instruction definitions, bytecode emission, and interpretation with support for operand width optimization and tail-call optimization.
Requirements
For define_interpreter! nightly Rust must be installed and #![feature(explicit_tail_calls)] enabled
in your crate.