Expand description
Shared lowered-program substrate for interpreters and copy-and-patch backends.
weavy stays format-agnostic: callers bring schema identities, parsers, and
value models. The crate provides the shared carrier for lowered programs
(flat programs, named blocks, and a small call-stack runner), plus the generic
typed-memory descriptor/op vocabulary in mem. Native copy-and-patch
backends can use the same program/block shape.
Modules§
- ir
- Canonical typed execution IR shared by Weavy frontends.
- mem
- Shared typed-memory thunk vocabulary for lowered programs.
Structs§
- Block
Ref - Dense index for a callable lowered block.
- Dense
Lowered - A root program plus dense block programs.
- Lowered
- A root program plus named block programs.
- RunStats
- Opt-in execution counters for the generic lowered-program runner.
Enums§
Traits§
Functions§
- run
- Run a lowered program through caller-supplied op semantics.
- run_
dense - Run a dense lowered program through caller-supplied op semantics.
- run_
dense_ program - Run a dense program with an explicit dense block table.
- run_
dense_ program_ with_ stats - Run a dense program with an explicit dense block table and return counters.
- run_
dense_ with_ stats - Run a dense lowered program and return opt-in execution counters.
- run_
program - Run a program with an explicit block table.
- run_
program_ with_ stats - Run a program with an explicit block table and return execution counters.
- run_
with_ stats - Run a lowered program and return opt-in execution counters.
Type Aliases§
- Program
- A flat lowered program for an op vocabulary supplied by the caller.