@cgrand I think I have Unrepl properly working in Planck now with some rough experimental code: https://gist.github.com/mfikes/e44cf07e8217db2112facf90b550ab74
@mfikes, awesome!
I haven't drilled down into the nesting and dynamic binding stuff to ensure it is all OK. But, the simple interactions appear to work. š
binding: it works as long as eval is not really async
for async eval to work, some cooperation from clojurescript would be required
after talking with @bbloom Iām trying to put up a proposition for that
Cool. In the Planck case, it is sync, like this
(defn eval [form cb]
(cb (planck.core/eval form)))
something unrelated: is there a way with JsCore to inspect a closure (to look at the closed over locals)?
I've never seen any introspective API functions like that. (The public API to JavaScriptCore is fairly conservative and small.)
@mfikes introspective JS VM would enable a cljs version of Portkey (https://github.com/cgrand/portkey).