At last, my cljs repl is upgradable anew and I have some dyn env handling to tighten
is there something I can play with already?
you can clone the repo, and follow the README, that’s all
why 🐊 ?
strong as a crocodile
it's a pretty cool animal
I checked it out, it works well
So the idea would be to ship something like cljs-js-repl with lumo. That's the minimum code required for a client to upgrade itself.
(just thinking out loud here)
that’s the idea
pesterhazy: on upgrade there’s an extra prompt from the upgraded repl, it’s a bug
eval in cljs-js has an async API (in practice lumo and planck impls are sync... for now)
(one can simulate async by adding a setTimeout)
really like the ideaa
Right before the daycare pickup break, I was talking about async eval.
So the problem is that when the evaluation really happen the current set of bindings may not be in place anymore. So *in*
for example wouldn't point to the input of the repl :-/
So short of having a global dynamic var solution, eval could offer a way to switch dynamic environments. It may be a simple function… passed as a dynamic variable.