diff options
| author | 2026-11-08 05:13:29 +0000 | |
|---|---|---|
| committer | 2026-11-08 05:13:29 +0000 | |
| commit | 8bbefe95d25fa2981add4df35bdd9903c91a8e62 (patch) | |
| tree | f45cabee854e1ef7e4b4ce82d4ceced0a47ae2a5 /res | |
| download | lab-01-8bbefe95d25fa2981add4df35bdd9903c91a8e62.tar.gz | |
Diffstat (limited to 'res')
| -rw-r--r-- | res/01-correct-input.txt | 10 | ||||
| -rw-r--r-- | res/02-incorrect-input.txt | 14 | ||||
| -rw-r--r-- | res/02-input-with-invalid-lexeme.txt | 6 | ||||
| -rw-r--r-- | res/03-input-with-long-identifier.txt | 6 | ||||
| -rw-r--r-- | res/04-input-with-long-string-constant.txt | 6 | ||||
| -rw-r--r-- | res/05-input-which-maybe-should-not-pass.txt | 1 | ||||
| -rw-r--r-- | res/generated-input.txt | 2 |
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 @@ | |||
| 1 | for (i :=-.1230; | ||
| 2 | i < 10; | ||
| 3 | i := 10) | ||
| 4 | do x := 11 "asdf" "asdf" "asdf" | ||
| 5 | | // I don't know to work with those pipes... | ||
| 6 | for (x := 11; x = 1;) /* INLINE COMMENT */ "123456789ABCDE" /* | ||
| 7 | 323asdf | ||
| 8 | MULTILINE COMMENT | ||
| 9 | x=2 */ | ||
| 10 | do 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 @@ | |||
| 1 | dofor (i :=-.1230; | ||
| 2 | i != 10; | ||
| 3 | i := 10) | ||
| 4 | fordo x := 11ebc123 "asdfasdfasdfasdfasdfasdf" | ||
| 5 | | // I don't know to work with those pipes... | ||
| 6 | for (x := 11; x = 1;) /* INLINE COMMENT */ "123456789ABCDE" /* | ||
| 7 | 323asdf | ||
| 8 | MULTILINE COMMENT | ||
| 9 | x=2 */ | ||
| 10 | do _abcdefghijklmnop_1 := 10 | ||
| 11 | |||
| 12 | /* | ||
| 13 | |||
| 14 | some 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 @@ | |||
| 1 | for (i := -.1230; | ||
| 2 | i % 10; | ||
| 3 | i := 10) | ||
| 4 | do x := 11 "asdf" "asdf" "asdf" | ||
| 5 | | // I don't know to work with those pipes... | ||
| 6 | for (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 @@ | |||
| 1 | for (i := -.1230; | ||
| 2 | i < 10; | ||
| 3 | i := 10) | ||
| 4 | do abcdef_0123456789 := 11 "asdf" "asdf" "asdf" | ||
| 5 | | // I don't know to work with those pipes... | ||
| 6 | for (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 @@ | |||
| 1 | for (i := -.1230; | ||
| 2 | i < 10; | ||
| 3 | i := 10) | ||
| 4 | do x := 11 "asdf" "asdf" "asdf" | ||
| 5 | | // I don't know to work with those pipes... | ||
| 6 | for (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 | ||
| 2 | for (6; 0; w := d) do 2 | for (68; 1; 1) do 77 | ||
