package owi
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
owi 0.1
owi
owi is an OCaml toolchain to work with WebAssembly. It provides an interpreter as an executable and a library.
To get started, have a look at the quickstart section of the README.
API
Owi.Parse
Module providing functions to parse a wasm script from various kind of inputs.Owi.Types
Types of text modules, as produced by the parser. Many parts of it are reused later in the interpreter.Owi.Compile
Utility functions to compile a module until a given step.Owi.Check
Initial check done on a module.Owi.Simplify
Module to simplify a text module. It contains the types of simplified modules.Owi.Typecheck
Module to typecheck a simplified module.Owi.Link
Module to link a simplified/extern module and producing a runnable module along with a link state.Owi.Log
Module to enable or disable the printing of debug logs.Owi.Interpret
Module to interpret a linked module.Owi.Script
Module to execute a full Wasm script.Owi.Pp
Module to pretty print the various types such as text module or simplified module.Owi.Value
Module to define externref values in OCaml. You should look in the `example` directory to understand how to use this before reading the code...
Private API
You shouldn't have to use any of these modules, they're used internally only.
Owi.Convert
Various conversion functions between i32, i64, f32 and f64.Owi.Float32
Custom Float32 module for Wasm.Owi.Float64
Custom Float64 module for Wasm.Owi.Int32
Custom Int32 module for Wasm.Owi.Int64
Custom Int64 module for Wasm.Owi.Lexer
Module for Wasm lexing.Owi.Menhir_parser
Owi.Spectest
The `spectest` module, to run script from the official test suite.Owi.Wutf8
Utility functions to work with utf8.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page