Continue InFine refactor; reworked memory management of objects, taking ownership away from the script state. There is now one global object store which is used by all running scripts. In the script there is now an object reference namespace which stores pointers to objects "in-scope". Presently when the stack is pop'd all objects in-scope are destroyed. However I have implemented a basic auto garbage collection mechanism.
Next step I think is to resolve object references prior to executing the script command action methods (adding a new predefined argument type for object references).
Continue InFine refactor; reworked memory management of objects, taking ownership away from the script state. There is now one global object store which is used by all running scripts. In the script there is now an object reference namespace which stores pointers to objects "in-scope". Presently when the stack is pop'd all objects in-scope are destroyed. However I have implemented a basic auto garbage collection mechanism.
Next step I think is to resolve object references prior to executing the script command action methods (adding a new predefined argument type for object references).