package owi
OCaml toolchain to work with WebAssembly, including and interpreter
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.tar.gz
sha256=eb0ee5a97a5310f30002b573f37ae69617688aa95d5e346ef4938ec91972102a
sha512=6aa67b3a8f999965788429a4fdb3f729570958815ab3b55d113d2c52a3fa22485e9e2872fddde5428eb0f726a0ccd5748ba216b4dc337d2b5f01f0bf27fe7701
doc/owi/Owi/Types/index.html
Module Owi.Types
Source
Types of text modules, as produced by the parser. Many parts of it are reused later in the interpreter.
Structure
Types
Source
type nonrec extern_type =
| Func of string option * func_type
| Table of string option * table_type
| Mem of string option * mem_type
| Global of string option * global_type
Instructions
Source
type ('indice, 'bt) instr' =
| I32_const of Int32.t
| I64_const of Int64.t
| F32_const of Owi.Float32.t
| F64_const of Owi.Float64.t
| I_unop of nn * iunop
| F_unop of nn * funop
| I_binop of nn * ibinop
| F_binop of nn * fbinop
| I_testop of nn * itestop
| I_relop of nn * irelop
| F_relop of nn * frelop
| I_extend8_s of nn
| I_extend16_s of nn
| I64_extend32_s
| I32_wrap_i64
| I64_extend_i32 of sx
| I_trunc_f of nn * nn * sx
| I_trunc_sat_f of nn * nn * sx
| F32_demote_f64
| F64_promote_f32
| F_convert_i of nn * nn * sx
| I_reinterpret_f of nn * nn
| F_reinterpret_i of nn * nn
| Ref_null of ref_type
| Ref_is_null
| Ref_func of 'indice
| Drop
| Select of val_type list option
| Local_get of 'indice
| Local_set of 'indice
| Local_tee of 'indice
| Global_get of 'indice
| Global_set of 'indice
| Table_get of 'indice
| Table_set of 'indice
| Table_size of 'indice
| Table_grow of 'indice
| Table_fill of 'indice
| Table_copy of 'indice * 'indice
| Table_init of 'indice * 'indice
| Elem_drop of 'indice
| I_load of nn * memarg
| F_load of nn * memarg
| I_store of nn * memarg
| F_store of nn * memarg
| I_load8 of nn * sx * memarg
| I_load16 of nn * sx * memarg
| I64_load32 of sx * memarg
| I_store8 of nn * memarg
| I_store16 of nn * memarg
| I64_store32 of memarg
| Memory_size
| Memory_grow
| Memory_fill
| Memory_copy
| Memory_init of 'indice
| Data_drop of 'indice
| Nop
| Unreachable
| Block of string option * 'bt option * ('indice, 'bt) expr'
| Loop of string option * 'bt option * ('indice, 'bt) expr'
| If_else of string option * 'bt option * ('indice, 'bt) expr' * ('indice, 'bt) expr'
| Br of 'indice
| Br_if of 'indice
| Br_table of 'indice array * 'indice
| Return
| Call of 'indice
| Call_indirect of 'indice * 'bt
Source
type import_desc =
| Import_func of string option * indice block_type
| Import_table of string option * table_type
| Import_mem of string option * mem_type
| Import_global of string option * global_type
Source
type assert_ =
| Assert_return of action * result list
| Assert_trap of action * string
| Assert_trap_module of module_ * string
| Assert_malformed of module_ * string
| Assert_malformed_quote of string list * string
| Assert_malformed_binary of string list * string
| Assert_invalid of module_ * string
| Assert_invalid_quote of string list * string
| Assert_invalid_binary of string list * string
| Assert_exhaustion of action * string
| Assert_unlinkable of module_ * string
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>