summaryrefslogtreecommitdiff
path: root/tnslc/compile/generate.tnsl
diff options
context:
space:
mode:
Diffstat (limited to 'tnslc/compile/generate.tnsl')
-rw-r--r--tnslc/compile/generate.tnsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tnslc/compile/generate.tnsl b/tnslc/compile/generate.tnsl
index 4cee1e3..ef6a76c 100644
--- a/tnslc/compile/generate.tnsl
+++ b/tnslc/compile/generate.tnsl
@@ -1,2 +1,6 @@
/; generate (~utils.File fin, fout)
+ parse.Node n = parse.generate_ast(fin)
+ n.update_children()
+ parse.print_ast(~n)
+ n.end()
;/