Sorry if this is a silly question, but I’m lost in the various options online, and need some guidance. I’m trying to use ClojureScript along with Max/MSP, which now has the ability to host a nodescript with some convenient integrations. I managed to get this working at a basic level, compiling some cljs to js and gettting it running, using shadow-cljs to compile the cljs to js, and having max watch the script and reload it.
My goal for this is to be able to take advantage of the live coding possible in a clojure repl, so I’m hoping to be able to eval code sent in to this object as text, ideally even reloading part of the script as one can do at the repl. What I’m confused by is what the limitations are of cljs vs regular clojure. As in, can I do things like dynamically evaluate new code and hot reload, and take advantage of the full facilities of macros, in a pure cljs environment? Is this what Lumo and Planck allow? In a perfect world, I’d be able to make a nodescript that runs a little electron gui, but also gives me the full dynamic lisp experience. Any pointers or help is much appreciated!