summaryrefslogtreecommitdiff
path: root/tnslc/compile/module.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-29 16:55:01 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-03-29 16:55:01 -0400
commit606ab9da9e4231564c91e4613bfbbb8883f7eb9d (patch)
tree2be0ef587d12aa11f863b4e48c388d988a665a9f /tnslc/compile/module.tnsl
parentc4638488d9a73df832542e40204f56c7d7d179e2 (diff)
File read test
Diffstat (limited to 'tnslc/compile/module.tnsl')
-rw-r--r--tnslc/compile/module.tnsl11
1 files changed, 11 insertions, 0 deletions
diff --git a/tnslc/compile/module.tnsl b/tnslc/compile/module.tnsl
new file mode 100644
index 0000000..b33ae58
--- /dev/null
+++ b/tnslc/compile/module.tnsl
@@ -0,0 +1,11 @@
+struct Module {
+ ~Module parent,
+ utils.Vector vars
+}
+
+/; method Module
+ /; init (~Module parent)
+ self.parent = parent
+ self.vars.init(1)
+ ;/
+;/