summaryrefslogtreecommitdiff
path: root/src/texec/world.go
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-11-01 12:59:19 -0400
committerKyle Gunger <kgunger12@gmail.com>2021-11-01 12:59:19 -0400
commitd228a388e5c95c703cff9f3050bb47e19078484a (patch)
tree4b49aff29388e20d5556f3ac8a70b2a9123ab070 /src/texec/world.go
parent705d62fdf1752e94df2071fdea16b41a124a15e6 (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.go7
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
+}