Open jberdine opened 8 years ago
@jordwalke so I guess we're keeping my refmterr stuff? No other ways right?
I suppose so.
Printing of errors in the compiler is done with the Outcometree
. The necessary code is implemented in Reason_oprint
.
OCaml 4.04 implemented support for plugins, a bit of code dynamically loaded in the ocaml process. After Reason switch to 4.04, implementing a simple plugin to setup the Oprint printers will be easy.
Plugins GPR: https://github.com/ocaml/ocaml/pull/648
plugins were removed in https://github.com/ocaml/ocaml/pull/2276 so this is no longer a viable strategy
Better if they were in Reason.