Skip to main content

Module bytecode

Module bytecode 

Source
Expand description

A bounded interpreter for compiled, feed-forward signal graphs.

The wire format and Op are shared with host compilers. Every instruction appends its outputs to the table of mono buses.

Object indices name instances supplied by the application. Control messages use the patch’s Rust payload type and are delivered separately from this instruction stream.

Structs§

Patch
A decoded schedule bound to the stateful objects it will render.
Program
A decoded, feed-forward block schedule. It can be prepared while another program plays. OPS bounds the stored instructions. PORTS bounds the signal inlets and outlets per object independently.

Enums§

DecodeError
Errors decoding a single instruction.
Error
Indicates which part of a program or render request could not be accepted.
Op
A block-level signal graph instruction. Object IDs refer to stateful native instances installed by the application. A decoded call borrows its input bus indices directly from the bytecode.

Constants§

VERSION
Version byte that precedes a stream of encoded Ops.