Expand description
This module solely contains the actual interpretation loop that matches instructions, interpreting the WASM bytecode
Β§Note to Developer:
- There must be only imports and one
impl
with one function (run
) in it. - This module must not use the
Error
enum. - Instead, only the
RuntimeError
enum shall be used- not to be confused with the
Error
enumβsError::RuntimeError
variant, which as per 2., we don not want
- not to be confused with the
FunctionsΒ§
- calculate_
mem_ πaddress - data_
drop π - do_
sidetable_ πcontrol_ transfer - elem_
drop π - memory_
init π - run π
- Interprets a functions. Parameters and return values are passed on the stack.
- table_
init π