Great work, @flowthing! Indeed, by being REPL-oriented it really seems closer to Chlorine and Clover. Great to see more push on trying to use REPL to the maximum effect too 🙂
BTW, @cfleming, I've been using
nubank/matcher-combinators for tests, and it's really sweet for the thing you described (if I undestood correctly 😄)
Just found this channel. I've been thinking about porting Chlorine/Clover tooling to CodeMirror (with REPL evaluation over a websocket, like Shadow-CLJS Remote API). Does it seem interesting? I'm thinking that by targetting CodeMirror, maybe we can have a smalltalk-like experience while working with ClojureScript (and maybe even Clojure, who knows?)
I haven't used SmallTalk — what do you mean by a SmallTalk-like experience?
In Smalltalk, you have an "image" that's both your source code, the editor, and the app you're running. So there's no "compile time" or "runtime" - you create a function, the IDE already understands it, the runtime already knows about it, etc.
So maybe in ClojureScript, it would be possible to be developing a code on the browser, then somehow "drop in" an editor in the browser, evaluate things, see how it works, and when you save, everything is already updated
@mauricio.szabo Thank you! Chlorine/Clover has certainly been an inspiration. 🙂
It's sad that sublime does not support js for plug-ins, otherwise we could reuse the same base library for this plug-in also :)
Heh, I probably would've insisted on writing my own thing anyway. 🙂
@mauricio.szabo No, it’s more how to show a visual diff of two data structures that’s the problem. At some point I’m going to build something with https://github.com/juji-io/editscript but I haven’t managed it yet. Cursive’s currently works ok but uses a lot of space.