package owi

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type thread

Module to interpret a linked module.

type env
type 'a choice
type module_to_run

interpret a module

type value
module State : sig ... end
val exec_vfunc_from_outside : locals:value list -> env:Env_id.t -> envs:env Env_id.collection -> Func_intf.t -> value list Result.t choice

interpret a function with a given input stack and produce a new stack

val exec_iunop : State.stack -> Types.nn -> Types.iunop -> State.stack
val exec_funop : State.stack -> Types.nn -> Types.funop -> State.stack
val exec_fbinop : State.stack -> Types.nn -> Types.fbinop -> State.stack
val exec_itestop : State.stack -> Types.nn -> Types.itestop -> State.stack
val exec_irelop : State.stack -> Types.nn -> Types.irelop -> State.stack
val exec_frelop : State.stack -> Types.nn -> Types.frelop -> State.stack
val exec_itruncf : State.stack -> Types.nn -> Types.nn -> Types.sx -> State.stack
val exec_itruncsatf : State.stack -> Types.nn -> Types.nn -> Types.sx -> State.stack
val exec_fconverti : State.stack -> Types.nn -> Types.nn -> Types.sx -> State.stack
val exec_ireinterpretf : State.stack -> Types.nn -> Types.nn -> State.stack
val exec_freinterpreti : State.stack -> Types.nn -> Types.nn -> State.stack
OCaml

Innovation. Community. Security.