Hello,
I need to programmatically generate procedures based on stored data and then have them executed by the running program that created them—is this possible?
I also need to create variables within the program where the names are determined by stored data; these variables would then be used by the running program that defined them—is this possible?
Thank you for your help !
Take a look at XojoScript that allows you to achieve just that (within limits): Introduction To XojoScript — Xojo documentation
Hi,
XojoScript is a ready-made solution for offering dynamic compilation in software.
However, if you want to offer script creation in other languages, you have the option to use the following plugins:
- Chilkat : In addition to providing secure access to Chilkat functions, the plugin also offers JavaScript code interpretation.
- MBS : MBS includes the DukTape engine in its Tools plugin. It is included in the Complete suite.
- Einhugur : Einhugur offers different scripting languages such as Lua, Python, and Wren (I used its Lua engine for a long time).
If, however, the end users’ actions are focused on the database, you can also look into ValentinaDB, which offers a wide range of possible extensions for its engine.
From experience, I have only used the Lua interpreter and the Chilkat engine. Feel free to explore the examples of the other plugins.
Happy coding ![]()