editors

Discussion about all editors used for Clojure/ClojureScript
mauricio.szabo 2021-05-23T12:47:13.020300Z

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 🙂

mauricio.szabo 2021-05-23T12:47:53.020500Z

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 😄)

1➕
mauricio.szabo 2021-05-23T12:51:28.022200Z

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?)

flowthing 2021-05-25T08:23:41.025300Z

I haven't used SmallTalk — what do you mean by a SmallTalk-like experience?

mauricio.szabo 2021-05-26T18:16:58.025500Z

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.

mauricio.szabo 2021-05-26T18:18:05.025700Z

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

flowthing 2021-05-23T14:07:12.023600Z

@mauricio.szabo Thank you! Chlorine/Clover has certainly been an inspiration. 🙂

mauricio.szabo 2021-05-23T15:04:14.023900Z

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 :)

flowthing 2021-05-23T17:11:18.024700Z

Heh, I probably would've insisted on writing my own thing anyway. 🙂

cfleming 2021-05-23T22:20:23.024900Z

@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.