package owi

  1. Overview
  2. Docs

Module providing functions to parse a wasm script from various kind of inputs.

val from_string : string -> (Types.script, string) Stdlib.result

Parse a script from a string.

val from_channel : Stdlib.in_channel -> (Types.script, string) Stdlib.result

Parse a script from a channel.

val from_file : filename:string -> (Types.script, string) Stdlib.result

Parse a script from a file.