Hi !
I want to know if it's possible to dynamically load a function for a script.
Here's a script sample
void main() {
load_function("cat.dll")
string result = cat("C:\\Path\\to\\file")
}
What load_function should do is loading a shared library which embeds a cat functionality, then a new function is added to the context so my script can use it.
Is this behaviour possible ? If not, is there a way for me to get a variable containing the wanted function before the execution so I can include them in the module ? (different than just parsing the script manually).
thank you