From 8bbefe95d25fa2981add4df35bdd9903c91a8e62 Mon Sep 17 00:00:00 2001 From: Martin Michalec Date: Sun, 8 Nov 2026 08:13:29 +0300 Subject: publish --- res/01-correct-input.txt | 10 ++++++++++ res/02-incorrect-input.txt | 14 ++++++++++++++ res/02-input-with-invalid-lexeme.txt | 6 ++++++ res/03-input-with-long-identifier.txt | 6 ++++++ res/04-input-with-long-string-constant.txt | 6 ++++++ res/05-input-which-maybe-should-not-pass.txt | 1 + res/generated-input.txt | 2 ++ 7 files changed, 45 insertions(+) create mode 100644 res/01-correct-input.txt create mode 100644 res/02-incorrect-input.txt create mode 100644 res/02-input-with-invalid-lexeme.txt create mode 100644 res/03-input-with-long-identifier.txt create mode 100644 res/04-input-with-long-string-constant.txt create mode 100644 res/05-input-which-maybe-should-not-pass.txt create mode 100644 res/generated-input.txt (limited to 'res') 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 @@ +for (i :=-.1230; + i < 10; + i := 10) +do x := 11 "asdf" "asdf" "asdf" +| // I don't know to work with those pipes... +for (x := 11; x = 1;) /* INLINE COMMENT */ "123456789ABCDE" /* +323asdf +MULTILINE COMMENT + x=2 */ +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 @@ +dofor (i :=-.1230; + i != 10; + i := 10) +fordo x := 11ebc123 "asdfasdfasdfasdfasdfasdf" +| // I don't know to work with those pipes... +for (x := 11; x = 1;) /* INLINE COMMENT */ "123456789ABCDE" /* +323asdf +MULTILINE COMMENT + x=2 */ +do _abcdefghijklmnop_1 := 10 + +/* + +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 @@ +for (i := -.1230; + i % 10; + i := 10) +do x := 11 "asdf" "asdf" "asdf" +| // I don't know to work with those pipes... +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 @@ +for (i := -.1230; + i < 10; + i := 10) +do abcdef_0123456789 := 11 "asdf" "asdf" "asdf" +| // I don't know to work with those pipes... +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 @@ +for (i := -.1230; + i < 10; + i := 10) +do x := 11 "asdf" "asdf" "asdf" +| // I don't know to work with those pipes... +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 @@ +// SEED: 1742551663 +for (6; 0; w := d) do 2 | for (68; 1; 1) do 77 -- cgit v1.3.1