From d228a388e5c95c703cff9f3050bb47e19078484a Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Mon, 1 Nov 2021 12:59:19 -0400 Subject: [EXEC] Flush out some things + Some initial stub code for tnsl + Finalize structs (for now) + Add a key type to the parser --- src/texec/world.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/texec/world.go') diff --git a/src/texec/world.go b/src/texec/world.go index 7f51c13..6fa6327 100644 --- a/src/texec/world.go +++ b/src/texec/world.go @@ -25,13 +25,14 @@ type TVariable struct { // TPath represents a pointer to the current module and file // that the thread is working in. type TPath struct { - module []string, - file string + Module []string, + Artifact string } // TContext represents a single thread. type TContext struct { CallStack []Node, + CallEnv []TPath, VarMap []map[string]TVariable } @@ -47,4 +48,4 @@ type TWorld struct { Modules []TModule, MainPath TPath, MainFunc Node -} \ No newline at end of file +} -- cgit v1.2.3