Import and export are working

This commit is contained in:
2022-09-05 06:39:05 +01:00
parent dceb83e618
commit 7fb9ebbce0
10 changed files with 266 additions and 12 deletions

View File

@@ -21,7 +21,8 @@ typedef struct Interpreter {
LiteralArray stack;
//output
// LiteralDictionary exports; //TODO: read-write - interface with Toy from C
LiteralDictionary* exports; //read-write - interface with Toy from C - this is a pointer, since it works at a script-level
LiteralDictionary* exportTypes;
PrintFn printOutput;
PrintFn assertOutput;
PrintFn errorOutput;