diff options
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 ;/ |