summaryrefslogtreecommitdiff
path: root/tests/block-test.tnsl
diff options
context:
space:
mode:
authorKyle Gunger <corechg@gmail.com>2020-09-20 18:18:26 -0400
committerKyle Gunger <corechg@gmail.com>2020-09-20 18:18:26 -0400
commit4adc90d9a8e48a5c1841874cae0cb30c3deee6e1 (patch)
tree4025660d2f9cf825a3b6bf080c590f02405657bf /tests/block-test.tnsl
parent99a037c68522a9ff74449a6aa41c546d85d1bc15 (diff)
Basic updates
- Move preprocessor to it's own file - Begin working on new delimiters - Begin working on blocks in the tree
Diffstat (limited to 'tests/block-test.tnsl')
-rw-r--r--tests/block-test.tnsl29
1 files changed, 11 insertions, 18 deletions
diff --git a/tests/block-test.tnsl b/tests/block-test.tnsl
index a05ca60..e5c3aaf 100644
--- a/tests/block-test.tnsl
+++ b/tests/block-test.tnsl
@@ -1,33 +1,26 @@
-;int i = 0
-
/;if (i==0)
;i = 2
-
;/
-/;else
- ;i = 0
-;/
+/: import
+ "this"
+ "that"
+:/
# ;; can be used as a quick block re-definition
/;if (i==0)
;i = 2
-
;;else
;i = 0
-
;/
-/;if
- ;char ch = '\n'
-
-;;else
- ;int it = 90
-
-;/
+# Comment block switching
-/;main
- ;
-
+/; if (i == 2)
+ ;i = 4
+;#
+ Comment
+#; else
+ ;i = 6
;/ \ No newline at end of file