Module Peahell_jsoo.Make

Parameters

Signature

val read_file : (string -> Stdlib.Lexing.lexbuf -> 'a) -> (string * string) -> 'a

Parse the contents from a file, using a given parser.

val use_file : L.environment -> (string * string) -> L.environment

Load directives from the given file.

val eval : (Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t * Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t) -> unit
val register_examples : Html_types.text Js_of_ocaml_tyxml.Tyxml_js.Html.wrap list -> unit
val main : default:string -> files:string list -> unit -> unit