js_of_ocaml
js_of_ocaml copied to clipboard
Implemement set_parser_trace
Description
While investigating #1307, I made this to try to understand what was going on.
It implements the tracer of the Parsing
module using console.log
with minor differences with the native counterpart (console.log
is adding spaces around values as well as some colors when executed with node).
Feel free to close if not interested.