pulley_interpreter

Module decode

Source
Available on crate feature decode only.
Expand description

Decoding support for pulley bytecode.

Modules§

  • Functions for decoding the operands of an instruction, assuming the opcode has already been decoded.

Structs§

Enums§

  • An error when decoding Pulley bytecode.
  • An uninhabited type that cannot be constructed at runtime.

Traits§

  • An abstraction over any kind of bytecode stream.
  • Anything that can be decoded from a bytecode stream, e.g. opcodes, immediates, registers, etc…
  • Like OpVisitor but for extended operations.
  • Callbacks upon decoding instructions from bytecode.

Functions§

  • Unwrap a Result<T, Uninhabited>. Always succeeds, since Uninhabited is uninhabited.

Type Aliases§

  • Either an Ok(T) or an Err(DecodingError).