Fork me on GitHub
#matrix
<
2023-12-13
>
Indiechat Dev17:12:17

https://clojurians.slack.com/archives/CKCBP3QF9/p1683339734803829?thread_ts=1683071834.561079&amp;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 ?

kennytilton20:12:01

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.

Indiechat Dev21:12:16

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

Indiechat Dev21:12:47

User building a state that can morph in predictable ways into other states thanks to the command layer which internally leverages ClojureDart world advantages.