Mavryk_webassembly_interpreter_extra.Script
type var = string Mavryk_webassembly_interpreter.Source.phrase
type definition = definition' Mavryk_webassembly_interpreter.Source.phrase
and definition' =
| Textual of Mavryk_webassembly_interpreter.Ast.module_
| Encoded of string * string
| Quoted of string * string
type action = action' Mavryk_webassembly_interpreter.Source.phrase
and action' =
| Invoke of var option * Mavryk_webassembly_interpreter.Ast.name * literal list
| Get of var option * Mavryk_webassembly_interpreter.Ast.name
type nanop = nanop' Mavryk_webassembly_interpreter.Source.phrase
type vec_pat =
| VecPat of (Mavryk_webassembly_interpreter.V128.shape * num_pat list)
Mavryk_webassembly_interpreter.Values.vecop
type result = result' Mavryk_webassembly_interpreter.Source.phrase
type assertion = assertion' Mavryk_webassembly_interpreter.Source.phrase
and assertion' =
| AssertMalformed of definition * string
| AssertInvalid of definition * string
| AssertUnlinkable of definition * string
| AssertUninstantiable of definition * string
| AssertReturn of action * result list
| AssertTrap of action * string
| AssertExhaustion of action * string
type command = command' Mavryk_webassembly_interpreter.Source.phrase
and command' =
| Module of var option * definition
| Register of Mavryk_webassembly_interpreter.Ast.name * var option
| Action of action
| Assertion of assertion
| Meta of meta
and script = command list
exception Syntax of Mavryk_webassembly_interpreter.Source.region * string