summaryrefslogtreecommitdiff
path: root/tnslc/test.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-08-04 03:06:08 -0400
committerKyle Gunger <kgunger12@gmail.com>2024-08-04 03:06:08 -0400
commit0d8ed3e169dba42fc43a4544a9c28fc63cf3053f (patch)
treec221cbec484116481783f04c6f33b86f165f36be /tnslc/test.tnsl
parent832b3faedb1a967fad6eb721d1a50b9e134d5095 (diff)
[tnslc] Function ast barebones
Diffstat (limited to 'tnslc/test.tnsl')
-rw-r--r--tnslc/test.tnsl14
1 files changed, 8 insertions, 6 deletions
diff --git a/tnslc/test.tnsl b/tnslc/test.tnsl
index a6f1673..44bfaff 100644
--- a/tnslc/test.tnsl
+++ b/tnslc/test.tnsl
@@ -2,20 +2,22 @@
~uint lmao
-user.tp a
-
-user.tp(asd, asd) b
~{2}user c
struct user {
~int abcd,
- Geko efg,
~Geko hij
}
-/; whatev (~uint8 a) [uint8]
- return a{0}
+struct Geko {
+ int i
+}
+
+/; module mod
+ /; whatev (~uint8 a) [uint8]
+ return a{0}
+ ;/
;/
/; main [int]