unrepl

discussing specification of an edn-based repl and its implementations.
pesterhazy 2017-04-14T10:36:26.631243Z

New unravel release: >>> 0.2.1 - Enable lumo caching (3x startup time improvement!) - Interrupt running process on SIGINT - Fix exceptions when connected to Boot-based socket server

anmonteiro 2017-04-14T14:57:08.307644Z

@pesterhazy how are you using caching?

anmonteiro 2017-04-14T14:57:33.314325Z

Do you just distribute your app with every namespace AOTed?

pesterhazy 2017-04-14T15:17:08.631922Z

@anmonteiro I just set the cache directory: https://github.com/pesterhazy/unravel/blob/master/bin/unravel#L8

anmonteiro 2017-04-14T15:17:39.640622Z

That may have implications for userland code, no?

pesterhazy 2017-04-14T15:17:55.644818Z

can you explain?

anmonteiro 2017-04-14T15:18:04.647376Z

Especially if they're iterating on a piece of code

anmonteiro 2017-04-14T15:18:27.653723Z

Currently the cache is not invalidated if you change a file

pesterhazy 2017-04-14T15:18:48.658924Z

oh yeah

anmonteiro 2017-04-14T15:18:49.659276Z

Current master has a fix for that and will be in the next release

pesterhazy 2017-04-14T15:19:35.671046Z

well unravel doesn't run any user-provided code - it's a client, just like any other app

anmonteiro 2017-04-14T15:20:04.678436Z

Ah!

anmonteiro 2017-04-14T15:20:16.681141Z

Yeah that's fine then

pesterhazy 2017-04-14T15:20:17.681632Z

the code is all run on the target system, via network calls

pesterhazy 2017-04-14T15:20:36.686874Z

the cache dir is parametrized by unravel version so I think it should be safe

anmonteiro 2017-04-14T15:21:42.704139Z

Agreed!

cgrand 2017-04-14T15:50:36.169751Z

I made progress on the async reader (https://github.com/cgrand/cljs-js-repl), syntax-quote, tagged-literals and namespaced maps are not implemented yet.`#()` is quirk compliant with Clojure one.

cgrand 2017-04-14T15:52:17.197126Z

It uses dynamic bindings in an async friendly way (the stream save and restores bindings for the continuation) see the dynvars ns.

pesterhazy 2017-04-14T16:06:45.440408Z

Quirk compliant, including base-n arguments? :)

cgrand 2017-04-14T16:15:38.579961Z

Yes sir and negative (in (-2 -1])