diff options
| author | Kai Gunger <kgunger12@gmail.com> | 2026-07-11 06:08:40 -0400 |
|---|---|---|
| committer | Kai Gunger <kgunger12@gmail.com> | 2026-07-11 06:08:40 -0400 |
| commit | bc52debb9566d4c4cbdb398837c3244e53b81e75 (patch) | |
| tree | 3f05abb8b5cb1b0c7f68903ae2ec648df3b850c0 /tnslc/test.tnsl | |
| parent | 4fbc5d6511a404319a5392f96b105823a63de893 (diff) | |
[tnslc] bootstrap parser
Diffstat (limited to 'tnslc/test.tnsl')
| -rw-r--r-- | tnslc/test.tnsl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl index 7570215..b515c49 100644 --- a/tnslc/test.tnsl +++ b/tnslc/test.tnsl @@ -28,10 +28,11 @@ usage: utils.File fin fin.init(argv{1}) - utils.Vector vec = parse.gen_token_list(~fin) - parse.print_token_list(~vec) - parse.end_token_list(~vec) - + parse.Node ast = parse.generate_ast(~fin) + ast.update_children() + parse.print_ast(~ast) + ast.end() + fin.end() return 0 |