unrepl

discussing specification of an edn-based repl and its implementations.
anmonteiro 2017-07-02T04:39:18.485854Z

does this help Unrepl? https://github.com/anmonteiro/lumo/commit/452ef43d7d928cd0f2aeb8be5eab466821b46fcd

anmonteiro 2017-07-02T04:39:49.487152Z

starting with that commit, you can now specify a custom accept function that the Lumo socket REPL will run when accepting new connections

anmonteiro 2017-07-02T04:40:02.487592Z

a la clojure.core.server

dominicm 2017-07-02T11:37:58.759939Z

https://vimeo.com/223309989 this seems pretty relevant to this channel

richiardiandrea 2017-07-02T12:30:33.947866Z

Maybe the unrepl socket accept function can be shared between clj socket repl and Lumo socket repl? This is actually what I woult try first: unlumo

plexus 2017-07-02T13:23:34.148584Z

the thing is that for the unrepl socket accept function to be there the user starting the clj/cljs process needs to add unrepl as a dependency. this is asking for trouble.

pesterhazy 2017-07-02T16:06:26.860831Z

@domincm, watching it right now... philosophically very close to unrepl

dominicm 2017-07-02T16:44:00.032884Z

@pesterhazy Much crossover. Lots of interesting points. I didn't realise that a plain ol' clojure.main/repl could be used for breakpoints, I'd always used https://github.com/gfredericks/debug-repl

dominicm 2017-07-02T16:44:07.033455Z

Inspires me to try simplify my toolset.

pesterhazy 2017-07-02T16:45:16.038929Z

stu even endorses our 2nd tooling connection idea

dominicm 2017-07-02T16:46:18.043743Z

yep. Which I thought was very interesting.

dominicm 2017-07-02T16:46:47.045925Z

Starting to feel like 2018 might be a year of re-tooling

pesterhazy 2017-07-02T16:47:20.048523Z

one thing I disagree with "don't type stuff into a shell"

pesterhazy 2017-07-02T16:48:41.054778Z

using a terminal repl - with readline history & lispy goodies like paren matching - is low-tech (simple!) yet powerful for exploration

pesterhazy 2017-07-02T16:50:06.061465Z

plus my readline history is essentially infinite, so I can still readily access all my silly experiments from a year ago

dominicm 2017-07-02T17:52:08.343384Z

I mean, the terminal needs syntax highlighting & paredit for modifying statements, right?

richiardiandrea 2017-07-02T19:39:27.824901Z

Is there a way to add paredit to readline? That is why I am keen on inf-clojure. It is the simplest editor to shell facade

pesterhazy 2017-07-02T19:44:31.847147Z

yes, paredit-like commands in readline would be fantastic

richiardiandrea 2017-07-02T20:03:32.934468Z

btw lumo uses parts of Paredit.js now: https://github.com/anmonteiro/lumo/issues/193

pesterhazy 2017-07-02T20:05:52.945204Z

wow!

richiardiandrea 2017-07-02T20:13:01.975972Z

it think from there to slurp and barf there is not much distance

richiardiandrea 2017-07-02T20:13:19.977242Z

and I can then drop emacs 😄

richiardiandrea 2017-07-02T20:13:23.977618Z

well maybe no

dominicm 2017-07-02T20:53:10.146416Z

https://github.com/juxt/mach ? 😉 (Totally biased)

pesterhazy 2017-07-02T20:54:34.152404Z

unbuild!

richiardiandrea 2017-07-02T21:01:11.182156Z

that's for sure good branding 😄

cgrand 2017-07-02T22:39:27.585768Z

Backronym for unrepl: use (the) nice repl!

😂 1
🙃 1
cgrand 2017-07-02T22:49:19.624886Z

I glanced at Mach once. I haven't looked in detail but I like the general approach.