https://clojurians.slack.com/archives/CKCBP3QF9/p1683339734803829?thread_ts=1683071834.561079&cid=CKCBP3QF9 This comment is interesting to me. I'm extremely new to Clojure (know next to nothing) and I came across your videos. I'm in search of certain types of solutions for an app I'm cranking on. One of the features I want to provide is a way for users to "code" (probably some sort of drag and drop interface) and run miniature apps within the app itself. On a high level, is there any chance ClojureDart and Mx could help me on this quest ?
@indiechatdev I know at one point @borkdude was looking at porting sci to ClojureDart, I'm not sure how far he got though. That was back around cljd's initial public release.
Sorry, @indiechatdev, I forgot to respond, partly because I was not sure what we were talking about. 🙂 But if the user "code" is all going to be interpreted by the app, that would be fine. And if we want to support reactive constructs, I do not see why not. It would be a substantial little project, but doable, I think.
Ah, the problem with running user code would be that the CLJD compiler is out of the picture at run time. You might check with the CLJD team to see if they have any plans for some form of EVAL. I know they are striving to be self-hosting, which might change things. I am not a compiler guy so I do not really know the limits.
What if the intention was to somehow expose only an extremely small set of programatic functionality through what would basically be a "toy" interface that the users are chaining commands through. The chained commands get linked to predefined macros and functions and they engage in whatever little behavior the user wishing to emulate (maybe with some in-built safety limits) ?
User building a state that can morph in predictable ways into other states thanks to the command layer which internally leverages ClojureDart world advantages.