summaryrefslogtreecommitdiff
path: root/tnslc/compile/codegen.tnsl
diff options
context:
space:
mode:
authorCircleShift <kgunger12@gmail.com>2025-03-18 14:46:48 -0400
committerCircleShift <kgunger12@gmail.com>2025-03-18 14:46:48 -0400
commitd20df58b6b7cbceb9b7586e974aec652d830711f (patch)
treea2f65e8d327b34f714b599b55512de585cef141d /tnslc/compile/codegen.tnsl
parent2cbdfbc78805648cfa3f76bfc5e3eb80b796f581 (diff)
[tnslc ]Register string generate funcorigin
Diffstat (limited to 'tnslc/compile/codegen.tnsl')
-rw-r--r--tnslc/compile/codegen.tnsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tnslc/compile/codegen.tnsl b/tnslc/compile/codegen.tnsl
index 165fe12..caaafb7 100644
--- a/tnslc/compile/codegen.tnsl
+++ b/tnslc/compile/codegen.tnsl
@@ -1,4 +1,8 @@
/; generate (~utils.File fin, fout)
+ parse.Node ast = parse.generate_ast(fin)
+ ast.update_children()
+ parse.print_ast(~ast)
+ ast.end()
;/