Began working on runner library

This commit is contained in:
2023-01-20 13:42:45 +00:00
parent 390f60e0ce
commit e6e24ca19f
18 changed files with 435 additions and 426 deletions

View File

@@ -0,0 +1,16 @@
import runner;
//test basic loading and freeing of code
{
var s = loadScript("scripts:/runner_sample_code.toy");
s.freeScript();
}
//TODO: test running an external script
//TODO: test resetting an external script
//TODO: test retrieving a script variable
//TODO: test calling a script function
print "All good";