Re-exports§
pub use vihaco_syntax as syntax;pub use vihaco_runtime as runtime;pub use chumsky;
Modules§
Macros§
Structs§
- Bytecode
File - A parsed bytecode file.
- Bytecode
Section View - A lightweight view into a parsed bytecode section.
- Canonical
Instruction Variant Syntax - Composite
Metadata - Constant
Id - Context
Handle - The public handle for a global context.
- Instruction
Sugar Variant Syntax - NoContext
- Marker context for SST files that do not carry global metadata.
- Program
Image - Section
Path - The fully resolved path for a parsed section.
- SstFile
- A parsed SST file.
- SstSection
View - A lightweight view into a parsed SST section.
Enums§
Constants§
Traits§
- Bytecode
Global Context - A global context that can be decoded from bytecode.
- Bytecode
Header - Canonical
Instruction Syntax - Component
- Composite
- Effect
Sink - From
Bytes - From
Text - Generated
Component - GetProgram
Info - Global
Context - A global context that supports both bytecode and SST representations.
- HasInstruction
Set - The instruction types exposed by a device to its two execution layers.
- Instruction
Sugar Syntax - Load
Bytecode Section - Allow a machine to load a bytecode section completely.
- Load
OwnBytecode Section - Allow a machine to load the bytecode data owned directly by its section.
- Load
OwnSst Section - Allow a machine to load the SST data owned directly by its section.
- Load
SstSection - Allow a machine to load an SST section completely.
- Message
- Message
Marker - Observe
- Parse
- A parser whose input is
&'src str(char stream) and whose error type isSimple<char>. - Reset
- Section
Name Resolver - Resolve section-name indexes stored in bytecode files.
- SstGlobal
Context - A global context that can be parsed from SST text.
- SstHeader
- Surface
Instruction - Marker for enums whose pattern-derived parser represents instruction syntax.
- Write
Bytecode Header
Functions§
Attribute Macros§
Derive Macros§
- Instruction
- Derive the bytecode-instruction traits (
OpCode,FromBytesWithOpcode,WriteBytes) for an instruction enum. - Message
- Message
Marker - Parse