unrepl

discussing specification of an edn-based repl and its implementations.
2020-04-13T08:15:59.000300Z

vigilancetech 2020-04-13T09:53:11.001Z

Is there any decent unrepl based tooling that works with lumo in emacs right now?

bozhidar 2020-04-13T10:49:26.001900Z

@vigilancetech unrepl doesn’t support self-hosted ClojureScript. I think you’re only option would be inf-clojure.

vigilancetech 2020-04-13T10:55:35.002800Z

@bozhidar what's the primary difference between your unrepl.el and spiral?

bozhidar 2020-04-13T10:56:22.003300Z

What’s unrepl.el? I thought this was spiral’s old name.

bozhidar 2020-04-13T10:56:52.003800Z

I’m working on CIDER and nREPL, so you probably mixed those projects up.

vigilancetech 2020-04-13T10:58:47.004Z

https://github.com/bbatsov/unrepl.el

vigilancetech 2020-04-13T10:59:02.004400Z

oops, I thought that was you 😕

bozhidar 2020-04-13T11:00:14.004900Z

@vigilancetech That’s me, but as you can see that’s just a fork of Spiral from before it changed its name. 😄

bozhidar 2020-04-13T11:01:48.006300Z

I think the project has been defunkt in a while. These days the best unrepl editor support is probably in Chlorine, but that’s Atom, not Emacs.

vigilancetech 2020-04-13T11:04:00.007100Z

Forgive me if I've asked you this before but what is the primary technical barrier to self hosted (e.g. lumo) supporting unrepl?

bozhidar 2020-04-13T11:39:18.009Z

The implementation has to be written in ClojureScript (e.g. a native unrepl version in ClojureScript or using cljc). As Clojure and ClojureScript have some subtle differences between them coming up with a portable REPL functionality is not trivial.

vigilancetech 2020-04-13T11:51:56.009600Z

what about prepl?

bozhidar 2020-04-13T12:23:26.010400Z

If lumo provides a prepl implementation than it’s an option, if not - you’re out of luck.

bozhidar 2020-04-13T12:24:12.011300Z

There’s no central prepl implementation - Clojure and ClojureScript ship with their (slight different) prepls, other tools have to provide it themselves.

bozhidar 2020-04-13T12:24:48.012Z

Maybe it at some point someone would aim to provide some universal prepl, but this would be pointless, as the whole point of prepl is that it’s built-in.