Js_of_ocaml_toplevel.JsooTopval use : Format.formatter -> string -> booluse fmt content Execute commands content. It does not print types nor values.
val execute : bool -> ?pp_code:Format.formatter -> ?highlight_location:(Location.t -> unit) -> Format.formatter -> string -> unitexecute print fmt content Execute content. print says whether the values and types of the results should be printed. pp_code formatter can be use to output ocaml source during lexing.