|
|
|
|
|
by nilput
2164 days ago
|
|
Yes, You'd need a small wrapper in C that just includes the language's header and calls two functions to initialize it and provide the script code to be executed. i added a tool that does that: https://github.com/nilput/knit/blob/master/scripts/knc a slightly better way of doing this would be implementing a way of exporting the scripts' bytecode and executing it as that is currently being done only in memory, this would avoid the need to reparse it and hides the script's source code. |
|