I know OCaml has a command line REPL.
I also know that OCaml can target JS (Js_of_OCaml, Bucklescript, ReasonML).
My question is: Does OCaml have an:
-
in browser REPL (so we’ll be typing in a textarea in a Chrome window, and my results are also in the same browser window)
-
with DOM bindings (so we can open a Svg / Canvas / WebGL context, issue draw commands, register mouse/keyboard handlers)
I’m basically looking for the “JS Developer Console”, except have it in OCaml.