summaryrefslogtreecommitdiff
path: root/src/texec/worldbuilder.go
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2021-12-10 00:53:58 -0500
committerKyle Gunger <kgunger12@gmail.com>2021-12-10 00:53:58 -0500
commitc3b9e4a8be18338ed5da223037d6259eaef54e8f (patch)
tree9f159c104fb183e16433e3dd64888347cf8a9899 /src/texec/worldbuilder.go
parent9fc8b79c79975e99ea314b5e767b6c204a91f0ff (diff)
[EXEC] Some literal handlers. Does not compile ATM.
Diffstat (limited to 'src/texec/worldbuilder.go')
-rw-r--r--src/texec/worldbuilder.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/texec/worldbuilder.go b/src/texec/worldbuilder.go
index 023c730..9fd29b7 100644
--- a/src/texec/worldbuilder.go
+++ b/src/texec/worldbuilder.go
@@ -45,6 +45,12 @@ func evalPreLiteral(n tparse.Node) string {
return ""
}
+//Generate a variable for a module
+// For sub = 0, give the vlist
+func modDef(n tparse.Node, t TType, sub int) ([]string, []TVariable) {
+
+}
+
// Parse a file and make an AST from it.
func parseFile(p string) tparse.Node {
tokens := tparse.TokenizeFile(p)