What is the story for hacking/scripting form interactivley on the canvas (with clojure)

I saw the video demonstrating developing Penpot with a Repl/reload workflow, and updating the Penpot UI (like adding a button to a menu). But I’m also curious about more freeform code-based form generation that can be expressed on the canvas, and possibly directly manipulated by the existing Penpot tools, or new custom interactions within the app…

Is SVG tooling in the large (outside of the inkscape app) + a continuous back and forth flow with Penpot the way to think about this? Or is there something Repl-like about the user-space of the Penpot app/canvas? Any potential for using or integrating Clojurescript eval (bootsraped) or NBB/SCI/Scittle, etc?

Maye there are potentials for loading (generated?) preset form, like templates and colors, from code?

I am a big fan of Astute Graphics plugins for Illustrator.
I would love to have access to this fantastic kind of dynamic vector power (outside of wonky, closed off Illustrator!), and hopefully have the resources to create similar tooling, and be able to customize in a personalized way.

If i’m understanding you well, this kind of scripting is not in our foreseeable plans.

The clojure repl you saw in the video is intended to be used in building the Penpot UI itself.

For advanced user scripting, we are planning to implement javascript plugins, similar to what you can find in Figma. We think this approach would be much easier to use by the community. There is a User Story to track the status of this function (currently in early conceptualization stage): Taiga

Of course, being an Open Source application, you can examine the source code, and if you are able to create some of those extensions, we will welcome it.