For now, I'll probably stick with UNREPL, but I'll look to prepl
to use it on ClojureScript. UNREPL doesn't just gives me a programmable REPL, but it also solves some issues with the printer: for example {(keyword "foo bar") 10}
is captured by UNREPL and is parseable with ClojureScript. If I switch to prepl I'll need to check on how to treat those "edge-cases" that UNREPL already though of.
But prepl
for ClojureScript seems a good choice, and Chlorine will probably go into this direction. The great thing about it is that when prepl is stable on ClojureScript, even with the same niceties that unrepl gives, I don't think it'll be hard to port it to Clojure