Helper for Js_of_ocaml Toplevel.
use fmt content Execute commands content. It does not print types nor values.
use fmt content
content
execute 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.
execute print fmt content
print
pp_code
Initialize Js_of_ocaml toplevel.