diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2021-11-01 12:59:19 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2021-11-01 12:59:19 -0400 |
commit | d228a388e5c95c703cff9f3050bb47e19078484a (patch) | |
tree | 4b49aff29388e20d5556f3ac8a70b2a9123ab070 /src/texec/world.go | |
parent | 705d62fdf1752e94df2071fdea16b41a124a15e6 (diff) |
[EXEC] Flush out some things
+ Some initial stub code for tnsl
+ Finalize structs (for now)
+ Add a key type to the parser
Diffstat (limited to 'src/texec/world.go')
-rw-r--r-- | src/texec/world.go | 7 |
1 files changed, 4 insertions, 3 deletions
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 +} |