Crate essential_asm_spec

Source
Expand description

A small crate that exports the ASM_YAML spec string and provides a structured Tree model representing its deserialized form.

Modules§

visit
Items to assist with traversal of the operation tree and visiting groups/ops.

Structs§

Group
A group of related operations and subgroups.
Op
A single operation.
StackOutDynamic
The stack output size is dynamic, dependent on a stack_in value.
Tree
Operations are laid out in a rose tree. Nodes are ordered by their opcode, ensured during deserialisation.

Enums§

Node
Each node of the tree can be an operation, or another group.
StackOut
The stack output of an operation, either fixed or dynamic (dependent on a stack_in value).

Constants§

ASM_YAML
The raw YAML specification string.

Functions§

tree
Deserialize the top-level op tree from the YAML.