Expand description
Linear instruction representation for the wasmsh VM subset.
wasmsh-runtime still executes the full shell by interpreting HIR
directly. This crate currently models only the supported subset that
can be lowered into wasmsh-vm: scalar assignments, builtin command
execution, selected redirections, and top-level && / ||
short-circuiting.
Structs§
- IrProgram
- A compiled program: a sequence of IR instructions.
- IrRedirection
- Redirection plan attached to an IR builtin command.
Enums§
- Ir
- A single IR instruction for the VM.
- Lowering
Error - Explicit reason why HIR cannot be lowered into the current VM subset.