Skip to main content

Crate vihaco

Crate vihaco 

Source

Re-exports§

pub use effect::Effects;
pub use instruction_syntax::CanonicalInstructionSyntax;
pub use instruction_syntax::CanonicalInstructionVariantSyntax;
pub use instruction_syntax::InstructionSugarSyntax;
pub use instruction_syntax::InstructionSugarVariantSyntax;
pub use instruction_syntax::OperandKind;
pub use instruction_syntax::SugarOperandKind;
pub use loader::LoadBytecodeSection;
pub use loader::LoadOwnBytecodeSection;
pub use loader::LoadOwnSstSection;
pub use loader::LoadSstSection;
pub use loader::ProgramImage;
pub use program::Type;
pub use program::Value;
pub use runtime::CompositeMetadata;
pub use runtime::EffectSink;
pub use runtime::GeneratedComponent;
pub use runtime::Message as MessageMarker;
pub use runtime::Observe;
pub use runtime::expect_exactly_one_effect;

Modules§

color
effect
frame
instruction
instruction_syntax
loader
machine
macros
metadata
module
observer
program
runtime
syntax
Parsed-module syntax — the source-text shape that #[derive(Parse)] and the hand-written Module/Function parsers produce, before the resolver lowers it into [crate::module::Module].
value

Macros§

show
show_instruction

Structs§

BytecodeFile
A parsed bytecode file.
BytecodeSectionView
A lightweight view into a parsed bytecode section.
ConstantId
ContextHandle
The public handle for a global context.
NoContext
Marker context for SST files that do not carry global metadata.
SectionPath
The fully resolved path for a parsed section.
SstFile
A parsed SST file.
SstSectionView
A lightweight view into a parsed SST section.

Constants§

FLAGS
MAGIC
VERSION

Traits§

BytecodeGlobalContext
A global context that can be decoded from bytecode.
BytecodeHeader
FromBytes
FromText
GetProgramInfo
GlobalContext
A global context that supports both bytecode and SST representations.
Reset
SectionNameResolver
Resolve section-name indexes stored in bytecode files.
SstGlobalContext
A global context that can be parsed from SST text.
SstHeader
WriteBytecodeHeader

Functions§

decode_instruction_stream

Attribute Macros§

component
composite
observe

Derive Macros§

Instruction
Message