Unrepl / unrepl

A common ground for better Clojure REPLs
231 stars 17 forks source link

Port unrepl to self hosted CLJS #5

Open cgrand opened 7 years ago

cgrand commented 7 years ago

There's only one unrepl server implementation currently. The next step is to have a self-hosted cljs one (so it can work with planck or lumo) and the easiest component to port is the print.clj while whose job is to produce machine readable prints (see README.md) or values.

plexus commented 7 years ago

(quoting @cgrand off Slack):

Let’s summarize the self-hosted cljs situation: • stock repls (lumo or planck) can’t be upgraded BUT using https://github.com/cgrand/cljs-js-repl one can have a server socket upgradable repl (maybe one day it could be the default socket repl for both — wishful thinking) • we have a print.cljc (https://github.com/plexus/unrepl/blob/lumo_support/src/unrepl/print.cljc) • what is missing is a repl.cljs (given the IO differences I’m not sure a repl.cljc is worth it) • and the blob gen (which is not high priority since stock socket repls are not upgradeable yet) That’s all

plexus commented 7 years ago

More Slack quotes:

mfikes commented 7 years ago

Alpha socket support for Planck has now landed in Planck master mfikes/planck@b230a6d64 It is exposed via a planck.socket.alpha namespace.

The gist (https://gist.github.com/mfikes/e44cf07e8217db2112facf90b550ab74) illustrating it working with cljs-js-repl has been updated, as well as the sample code mfikes/cljs-js-repl@ded18bee