diff options
author | Kyle Gunger <kgunger12@gmail.com> | 2024-03-17 02:37:39 -0400 |
---|---|---|
committer | Kyle Gunger <kgunger12@gmail.com> | 2024-03-17 02:37:39 -0400 |
commit | d618ab0fb5e083dd9880f22b7bdc43be4a3c0327 (patch) | |
tree | 59548909be587a96b02f023e16dbf56b288c082e /tnslc/main.tnsl | |
parent | 9385eaa149fae5d3c793f154611518342b7f3e9e (diff) | |
parent | f80bb4fd79f27210b606966c421ff3104ad0c959 (diff) |
Merge branch 'main' of git.cshift.net:CircleShift/ctc
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 ;/ + |