summaryrefslogtreecommitdiff
path: root/tnslc/simple.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2023-03-24 02:10:55 -0400
committerKyle Gunger <kgunger12@gmail.com>2023-03-24 02:10:55 -0400
commit3442a2c5bbbf5ec604ef104e9ab92912db98f222 (patch)
treeca53eb5bb572a235163a2bb1dfc4e2b06734ab5b /tnslc/simple.tnsl
parenta81122df8f081fc6f7cbe338f094bd8da9ba0486 (diff)
Update index solver
Diffstat (limited to 'tnslc/simple.tnsl')
-rw-r--r--tnslc/simple.tnsl18
1 files changed, 8 insertions, 10 deletions
diff --git a/tnslc/simple.tnsl b/tnslc/simple.tnsl
index 6ac7f31..b55be2a 100644
--- a/tnslc/simple.tnsl
+++ b/tnslc/simple.tnsl
@@ -1,14 +1,12 @@
-struct Test {
- int i
-}
-
-/; method Test
- /; whatever [int]
- return self.i
- ;/
-;/
+{}uint8 str1 = "abcd"
+{}uint8 str2 = "abcd"
/; main [int]
+ /; loop (int i = 0; i < 4) [i++]
+ /; if (str1{i} !== str2{i})
+ return 1
+ ;/
+ ;/
return 0
-;/ \ No newline at end of file
+;/