Here’s a demo of the ocaml repl in the acme editor in plan9 and some integration features:
The acme-repl demonstrated there is here: