Module interpreter

Source
Expand description

A stack-based interpreter to execute instructions of WIT adapters.

Modules§

stack
A very light and generic stack implementation, exposing only the operations required by the interpreter.
wasm
An hypothetic WebAssembly runtime, represented as a set of enums, types, and traits —basically this is the part a runtime should take a look to use the wasmer-interface-types crate—.

Structs§

Interpreter
An interpreter is the central piece of this crate. It is a set of executable instructions. Each instruction takes the runtime as argument. The runtime holds the invocation inputs, the stack, and the WebAssembly instance.

Enums§

Instruction
Represents all the possible WIT instructions.