summaryrefslogtreecommitdiff
path: root/tnslc/tnslc.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-10-14 14:32:38 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-10-14 14:32:38 -0400
commitb42f6ee60d74f9dc6f82182445fa3d8ae8f90420 (patch)
treedfa1eaf3ff8022ed28b47bca5b0122c7e7e009a2 /tnslc/tnslc.tnsl
parent16d26fc9a879f9d5044119d991433d798ed8f3ec (diff)
[tnslc] compile structs
Diffstat (limited to 'tnslc/tnslc.tnsl')
-rw-r--r--tnslc/tnslc.tnsl9
1 files changed, 1 insertions, 8 deletions
diff --git a/tnslc/tnslc.tnsl b/tnslc/tnslc.tnsl
index 2cb9603..e95a63b 100644
--- a/tnslc/tnslc.tnsl
+++ b/tnslc/tnslc.tnsl
@@ -35,14 +35,7 @@ usage:
fout.init(DEFAULT_FOUT)
;/
- parse.Node n = parse.generate_ast(~fin)
- n.update_children()
- parse.print_ast(~n)
- n.end()
-
- # utils.Vector v = parse.gen_token_list(~fin)
- # parse.print_token_list(~v)
- # parse.end_token_list(~v)
+ compile.generate(~fin, ~fout)
fin.end()
fout.end()