summaryrefslogtreecommitdiff
path: root/tnslc/main.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-03-17 02:37:39 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-03-17 02:37:39 -0400
commitd618ab0fb5e083dd9880f22b7bdc43be4a3c0327 (patch)
tree59548909be587a96b02f023e16dbf56b288c082e /tnslc/main.tnsl
parent9385eaa149fae5d3c793f154611518342b7f3e9e (diff)
parentf80bb4fd79f27210b606966c421ff3104ad0c959 (diff)
Merge branch 'main' of git.cshift.net:CircleShift/ctc
Diffstat (limited to 'tnslc/main.tnsl')
-rw-r--r--tnslc/main.tnsl17
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
;/
+