aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2018-12-14 17:49:36 -0800
committerBruce Hill <bruce@bruce-hill.com>2018-12-14 17:49:46 -0800
commit6ba84a0f507270fba8e7a68901dc256c2979d7f9 (patch)
tree8f342ace5a015cf14df12bb17525f02de89bf47d /tools
parent0d88091f8d6cba8c552e2d3ffd3551819f8a4aed (diff)
Initial setup work for syntax version 5.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/parse.nom9
1 files changed, 5 insertions, 4 deletions
diff --git a/tools/parse.nom b/tools/parse.nom
index 4e61473..0745847 100755
--- a/tools/parse.nom
+++ b/tools/parse.nom
@@ -11,13 +11,14 @@ externally (print tree %t at indent %indent) means:
if %t.type is:
"Action":
say "\(%indent)Action (\(%t.stub)):"
- if %t.target:
- say "\%indent Target:"
- print tree %t.target at indent "\%indent "
-
for %arg in %t:
if (%arg is syntax tree):
print tree %arg at indent "\%indent "
+
+ "MethodCall":
+ say "\(%indent)MethodCall on:"
+ print tree %t.1 at indent "\%indent "
+ print tree %t.2 at indent "\%indent "
"Number":
say "\%indent\(%t.1)"