byteflow-actors 0.5.1

Embeddable flow runtime: M:N scheduler, Atomic Hop (Message+Cap), supervisor — use byteflow::
Documentation
//! Instruction set, `.bf` (BFV0) wire format, assembler and verifier.
//!
//! Pure data plane — no threads, no mailboxes. The scheduler and VM consume
//! [`Chunk`] values produced here.
//!
//! | Piece | Purpose |
//! |-------|---------|
//! | [`Opcode`] / [`Instruction`] | ISA (opcodes are **append-only**) |
//! | [`Value`] / [`Message`] | Runtime / constant-pool tags (ABI versioned) |
//! | [`ChunkBuilder`] | Host-side assembler with label back-patching |
//! | [`encode`] / [`decode`] | `.bf` module bytes (`MAGIC` + [`ABI_VERSION`]) |
//! | [`verify`] | Structural checks before a [`crate::Runtime`] starts |
//!
//! Current ABI: see [`ABI_VERSION`] (FlowCap + `Str` / `Bytes`).

mod builder;
mod chunk;
mod disasm;
mod format;
mod instruction;
mod macros;
mod opcode;
mod value;
mod verify;

pub use builder::{ChunkBuilder, Label};
pub use chunk::{Chunk, FunctionDef, ABI_VERSION, MAGIC};
pub use disasm::disassemble;
pub use format::{decode, encode, FormatError};
pub use instruction::Instruction;
pub use macros::asm_macros;
pub use opcode::Opcode;
pub use value::{Message, Value};
pub use verify::{verify, VerifyError};