diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2022-09-20 00:03:32 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2022-09-20 00:03:32 -0400 |
commit | be9813b1062c1f9b2c0d13a76d56c41ba984c1db (patch) | |
tree | fbfa5b93495c14c646009c92c3b403e639ad9161 /tnslc/tnslc.tnsl | |
parent | 5582d6427e2bc09b9975615f87cace64ce2d29ca (diff) |
Generate a dummy file
Diffstat (limited to 'tnslc/tnslc.tnsl')
-rw-r--r-- | tnslc/tnslc.tnsl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tnslc/tnslc.tnsl b/tnslc/tnslc.tnsl index ec6fa04..2a19f20 100644 --- a/tnslc/tnslc.tnsl +++ b/tnslc/tnslc.tnsl @@ -24,8 +24,8 @@ /; main ({}{}charp args) [int] - /; if (len args < 1) - ;tnsl.io.println(string_from_int(97265)) + /; if (len args < 2) + ;tnsl.io.println("Usage: tnslc [file in] [file out]") ;return 1 ;/ @@ -39,5 +39,7 @@ # ;tnslc.Node tree_node = tnslc.ast.make_tree(psrc, args{0}) + ;tnslc.do_compile(args{1}, psrc) + ;return 0 ;/ |