lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
pesterhazy 2017-10-19T08:38:41.000277Z

that's interesting - instead of a line based repl there could be a form based repl

pesterhazy 2017-10-19T08:38:58.000025Z

@metametadata any idea how that would work on the terminal?

metametadata 2017-10-19T10:05:29.000155Z

@pesterhazy it would be convenient to use some key combo, e.g. Option+Up. And it can simply copy-paste the last submitted string (i.e. everything typed before I clicked Enter):

cljs.user=> [123<<Shift+Enter>>
       #_=>  456]<<Enter>>
[123 456]
cljs.user=> <<Opt+Up>>[123
#_=> 456]

metametadata 2017-10-19T10:06:40.000427Z

I.e. I'm OK with REPL still be string-based but not split history at newlines, so to speak.

futuro 2017-10-19T12:59:00.000110Z

That's likely possible. I can't remember the js file name, but server.js should point you in the right direction for configuring the readline setup

futuro 2017-10-19T13:00:16.000379Z

Something like opt+up/down moving between forms and up/down moving between lines would be really neat.

anmonteiro 2017-10-19T16:43:04.000059Z

let’s open an issue for that

anmonteiro 2017-10-19T16:43:35.000249Z

it’s basically the equivalent of this Planck issue: https://github.com/mfikes/planck/issues/120

metametadata 2017-10-19T18:51:24.000558Z

OK, I added https://github.com/anmonteiro/lumo/issues/298