A DSL for generating bytecode definitions and fast tail-call dispatched interpreter
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-09 19:56:53 +07:00
bytecodegen-macros update deps 2026-09-09 19:56:53 +07:00
examples update README 2026-02-06 07:31:36 +07:00
src initial 2026-02-06 07:28:16 +07:00
.gitignore initial 2026-02-06 07:28:16 +07:00
Cargo.lock update deps 2026-09-09 19:56:53 +07:00
Cargo.toml update deps 2026-09-09 19:56:53 +07:00
LICENSE Add LICENSE 2026-02-06 01:30:38 +01:00
README.md update README 2026-02-06 07:31:36 +07:00

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.