aboutsummaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorLibravatar Martin Michalec <martin@michalec.dev>2026-11-08 05:13:29 +0000
committerLibravatar Martin Michalec <martin@michalec.dev>2026-11-08 05:13:29 +0000
commit8bbefe95d25fa2981add4df35bdd9903c91a8e62 (patch)
treef45cabee854e1ef7e4b4ce82d4ceced0a47ae2a5 /res
downloadlab-01-master.tar.gz
publishHEADmaster
Diffstat (limited to 'res')
-rw-r--r--res/01-correct-input.txt10
-rw-r--r--res/02-incorrect-input.txt14
-rw-r--r--res/02-input-with-invalid-lexeme.txt6
-rw-r--r--res/03-input-with-long-identifier.txt6
-rw-r--r--res/04-input-with-long-string-constant.txt6
-rw-r--r--res/05-input-which-maybe-should-not-pass.txt1
-rw-r--r--res/generated-input.txt2
7 files changed, 45 insertions, 0 deletions
diff --git a/res/01-correct-input.txt b/res/01-correct-input.txt
new file mode 100644
index 0000000..5141ab5
--- /dev/null
+++ b/res/01-correct-input.txt
@@ -0,0 +1,10 @@
1for (i :=-.1230;
2 i < 10;
3 i := 10)
4do x := 11 "asdf" "asdf" "asdf"
5| // I don't know to work with those pipes...
6for (x := 11; x = 1;) /* INLINE COMMENT */ "123456789ABCDE" /*
7323asdf
8MULTILINE COMMENT
9 x=2 */
10do x := 10
diff --git a/res/02-incorrect-input.txt b/res/02-incorrect-input.txt
new file mode 100644
index 0000000..3648c25
--- /dev/null
+++ b/res/02-incorrect-input.txt
@@ -0,0 +1,14 @@
1dofor (i :=-.1230;
2 i != 10;
3 i := 10)
4fordo x := 11ebc123 "asdfasdfasdfasdfasdfasdf"
5| // I don't know to work with those pipes...
6for (x := 11; x = 1;) /* INLINE COMMENT */ "123456789ABCDE" /*
7323asdf
8MULTILINE COMMENT
9 x=2 */
10do _abcdefghijklmnop_1 := 10
11
12/*
13
14some more text
diff --git a/res/02-input-with-invalid-lexeme.txt b/res/02-input-with-invalid-lexeme.txt
new file mode 100644
index 0000000..d2404ad
--- /dev/null
+++ b/res/02-input-with-invalid-lexeme.txt
@@ -0,0 +1,6 @@
1for (i := -.1230;
2 i % 10;
3 i := 10)
4do x := 11 "asdf" "asdf" "asdf"
5| // I don't know to work with those pipes...
6for (x := 11; x = 1;) /* INLINE COMMENT */ "123456789ABCDEF" do x := 10
diff --git a/res/03-input-with-long-identifier.txt b/res/03-input-with-long-identifier.txt
new file mode 100644
index 0000000..05472b7
--- /dev/null
+++ b/res/03-input-with-long-identifier.txt
@@ -0,0 +1,6 @@
1for (i := -.1230;
2 i < 10;
3 i := 10)
4do abcdef_0123456789 := 11 "asdf" "asdf" "asdf"
5| // I don't know to work with those pipes...
6for (x := 11; x = 1;) /* INLINE COMMENT */ "123456789ABCDE" do x := 10
diff --git a/res/04-input-with-long-string-constant.txt b/res/04-input-with-long-string-constant.txt
new file mode 100644
index 0000000..81b14cf
--- /dev/null
+++ b/res/04-input-with-long-string-constant.txt
@@ -0,0 +1,6 @@
1for (i := -.1230;
2 i < 10;
3 i := 10)
4do x := 11 "asdf" "asdf" "asdf"
5| // I don't know to work with those pipes...
6for (x := 11; x = 1;) /* INLINE COMMENT */ "123456789ABCDEF" do x := 10
diff --git a/res/05-input-which-maybe-should-not-pass.txt b/res/05-input-which-maybe-should-not-pass.txt
new file mode 100644
index 0000000..8a068ca
--- /dev/null
+++ b/res/05-input-which-maybe-should-not-pass.txt
@@ -0,0 +1 @@
dofor me 123asdf ||| )( := x y z "1alksdfhlsahdkflsd23" asdf123 // seems all good to me...
diff --git a/res/generated-input.txt b/res/generated-input.txt
new file mode 100644
index 0000000..3a55d29
--- /dev/null
+++ b/res/generated-input.txt
@@ -0,0 +1,2 @@
1// SEED: 1742551663
2for (6; 0; w := d) do 2 | for (68; 1; 1) do 77