diff options
Diffstat (limited to 'tnslc/main.tnsl')
-rw-r--r-- | tnslc/main.tnsl | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/tnslc/main.tnsl b/tnslc/main.tnsl index 1abedb3..c7e8c95 100644 --- a/tnslc/main.tnsl +++ b/tnslc/main.tnsl @@ -1,14 +1,15 @@ :import "c_wrap_linux.tnsl" +:import "vector.tnsl" -~uint8 str_a = "Hello World\n\0" -~uint8 str_b = "!\n\0" +/; main [int] -/; main (int argc, ~~uint8 argv) [int] - _printf(str_a) - - /; if (argc > 2) - _printf(str_b) - ;/ + Vector a + a.init(1) + + + a.end() + return 0 ;/ + |