unrepl

discussing specification of an edn-based repl and its implementations.
volrath 2017-12-21T08:44:45.000006Z

@cgrand this is more of a conceptual question than a technical one... In the case of an editor like emacs where you can send interactive evaluations from a working buffer to the socket REPL, would you send those through the user conn or the aux conn?

cgrand 2017-12-21T08:50:39.000438Z

@volrath it depends on what you want to achieve. I personally would like to have evals from a buffer part of the repl log (together with nice persistent logs).

cgrand 2017-12-21T08:50:58.000065Z

so then I would send over user

cgrand 2017-12-21T08:51:29.000056Z

if your UX is different I would use another connection (maybe a dedicated one)

volrath 2017-12-21T08:55:34.000376Z

@cgrand yeah that's what I thought, and that's what I'm looking for as well.. just wanted to confirm with you in case I was missing something.

bozhidar 2017-12-21T09:04:19.000135Z

> @cgrand this is more of a conceptual question than a technical one... In the case of an editor like emacs where you can send interactive evaluations from a working buffer to the socket REPL, would you send those through the user conn or the aux conn?

bozhidar 2017-12-21T09:06:12.000220Z

In CIDER we use the user conn for this. The idea is that we shouldn’t make a distinction as to where some evaluation originated from, as long as it came from the user evaluation application code. Everything else goes to nREPL’s equivalent of a aux (we call it tooling) connection.

volrath 2017-12-21T09:07:11.000063Z

yep, seems like the sane approach to this

cgrand 2017-12-21T15:57:17.000362Z

Just re-discovered that since cljs is sometimes read by clojure reader, regexes can’t have non-java patterns...

dominicm 2017-12-21T17:09:28.000691Z

I don't follow

dominicm 2017-12-21T17:09:36.000058Z

it has to be both java & js compatible at what time?

cgrand 2017-12-21T17:26:33.000738Z

even if you are in a conditional branch for cljs, cljs/jvm uses the clojure reader so #"[^]+" can’t be read

cgrand 2017-12-21T17:27:26.000313Z

in my case it’s just some code in lumo (so never going to run on the JVM) but the compilation uses cljs/jvm etc.

dominicm 2017-12-21T19:25:40.000424Z

Oh that sucks.