summaryrefslogtreecommitdiff
path: root/test_programs/thue/parser_test.thue
diff options
context:
space:
mode:
authorMatthew Hall <hallmatthew314@gmail.com>2022-09-04 13:50:58 +1200
committerMatthew Hall <hallmatthew314@gmail.com>2022-09-04 13:50:58 +1200
commit8dfc184c00f7c04e70f861914a944e3dbee3a136 (patch)
tree3be778f98ece51ef1a769f3211fc96a41b1afc00 /test_programs/thue/parser_test.thue
parente449c3c866b0c91a0bc34d5cb462c47b5fa43ce1 (diff)
Add testing programs to repo
Diffstat (limited to 'test_programs/thue/parser_test.thue')
-rw-r--r--test_programs/thue/parser_test.thue8
1 files changed, 8 insertions, 0 deletions
diff --git a/test_programs/thue/parser_test.thue b/test_programs/thue/parser_test.thue
new file mode 100644
index 0000000..c69d6bb
--- /dev/null
+++ b/test_programs/thue/parser_test.thue
@@ -0,0 +1,8 @@
+This is a normal rule::=This is a normal cabbage
+This is an input rule::=:::
+This is an output rule::=~This text will be printed without a newline
+This is_an output rule that only prints a newline::=~
+::=
+this is normal text that shouldn't be parsed a a rule
+so is this
+and this too