From be9813b1062c1f9b2c0d13a76d56c41ba984c1db Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Tue, 20 Sep 2022 00:03:32 -0400 Subject: Generate a dummy file --- tnslc/tnslc.tnsl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'tnslc/tnslc.tnsl') 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 ;/ -- cgit v1.2.3