A vocabulary shared by devices
#[dialect] defines typed instructions. Components declare
whole dialects and implement their operations; composites route those
operations to direct or nested devices.
Execute and handle results
Components execute through Execute. Authored steps prepare
messages, call devices, and apply results. Each machine makes that
continuation policy explicit.
From source text to module
#[derive(Parse)] generates a
chumsky parser for
your instruction syntax from declarative, compile-time-checked
patterns. Parsing and symbolic lowering build a module, which an
image owns beside its mutable execution machine.
§Install
vihaco is the facade for declarations and execution.
The author’s guide setup selects the version
and dependencies used throughout the examples.
Requires Rust edition 2024.
Continue to the Quick Start →Continue to the Quick Start, work through the Guides, or browse the API Reference.