From d20df58b6b7cbceb9b7586e974aec652d830711f Mon Sep 17 00:00:00 2001
From: CircleShift <kgunger12@gmail.com>
Date: Tue, 18 Mar 2025 14:46:48 -0400
Subject: [tnslc ]Register string generate func

---
 tnslc/compile/codegen.tnsl | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'tnslc/compile/codegen.tnsl')

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()
 ;/
 
-- 
cgit v1.2.3