Yes, that might well be what I really want.
Initially I was thinking that the main use-case of the embed scripting within pages would be :
- the kinds of things you might do in JuPyter … some maths / science applications and “graphing” by generating SVG output.
- some actual scripting of the behaviour of the wiki itself
- I have an interest in making parsers for DSLs and code-generation. At some point I’m thinking of playing with putting Instaparse in and doing something like OMeta / Harc’s Ohm within pages. This is pretty speculative at this point though.
It’s quite plausible that I’d be better off with a subset of Clojure rather than doing actual Clojure eval.
Thanks for the link. I’ll look into it