From d94a4efd3acdc2266b0c7d9bdb0a5c00fc261896 Mon Sep 17 00:00:00 2001 From: Jan Vervecken Date: Mon, 8 Aug 2016 20:47:24 +0200 Subject: [PATCH] adding .errors files for some existing grammar examples --- agc/examples/ERASABLE_ASSIGNMENTS.agc.errors | 27 ++++++++++++++++++ erlang/examples/getty.erl.errors | 2 ++ logo/examples/logo_fail_2.txt.errors | 1 + .../logo_feature_butfail_2.txt.errors | 2 ++ mumps/examples/epic_questions.m.errors | 5 ++++ mysql/examples/example1.sql.errors | 1 + mysql/examples/example2.sql.errors | 1 + pgn/examples/.DS_Store.errors | Bin 0 -> 131 bytes propcalc/examples/commute1.txt.errors | 1 + propcalc/examples/doubleneg.txt.errors | 1 + propcalc/examples/equiv1.txt.errors | 1 + propcalc/examples/modusponens.txt.errors | 1 + propcalc/examples/modustollens.txt.errors | 1 + propcalc/examples/syllogism.txt.errors | 1 + propcalc/examples/taut1.txt.errors | 2 ++ propcalc/examples/taut2.txt.errors | 2 ++ robotwars/examples/dragon.txt.errors | 15 ++++++++++ scala/examples/example1.txt.errors | 1 + tinyc/examples/example1.c.errors | 1 + tinyc/examples/example2.c.errors | 1 + tinyc/examples/example3.c.errors | 1 + tinyc/examples/example4.c.errors | 1 + 22 files changed, 69 insertions(+) create mode 100644 agc/examples/ERASABLE_ASSIGNMENTS.agc.errors create mode 100644 erlang/examples/getty.erl.errors create mode 100644 logo/examples/logo_fail_2.txt.errors create mode 100644 logo/examples/logo_feature_butfail_2.txt.errors create mode 100644 mumps/examples/epic_questions.m.errors create mode 100644 mysql/examples/example1.sql.errors create mode 100644 mysql/examples/example2.sql.errors create mode 100644 pgn/examples/.DS_Store.errors create mode 100644 propcalc/examples/commute1.txt.errors create mode 100644 propcalc/examples/doubleneg.txt.errors create mode 100644 propcalc/examples/equiv1.txt.errors create mode 100644 propcalc/examples/modusponens.txt.errors create mode 100644 propcalc/examples/modustollens.txt.errors create mode 100644 propcalc/examples/syllogism.txt.errors create mode 100644 propcalc/examples/taut1.txt.errors create mode 100644 propcalc/examples/taut2.txt.errors create mode 100644 robotwars/examples/dragon.txt.errors create mode 100644 scala/examples/example1.txt.errors create mode 100644 tinyc/examples/example1.c.errors create mode 100644 tinyc/examples/example2.c.errors create mode 100644 tinyc/examples/example3.c.errors create mode 100644 tinyc/examples/example4.c.errors diff --git a/agc/examples/ERASABLE_ASSIGNMENTS.agc.errors b/agc/examples/ERASABLE_ASSIGNMENTS.agc.errors new file mode 100644 index 0000000000..f07aa0cd18 --- /dev/null +++ b/agc/examples/ERASABLE_ASSIGNMENTS.agc.errors @@ -0,0 +1,27 @@ +line 18:0 extraneous input 'A' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 19:0 extraneous input 'Q' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 20:0 extraneous input 'Z' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 31:0 extraneous input 'RELINT' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 32:0 extraneous input 'INHINT' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 33:0 extraneous input 'CYR' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 34:0 extraneous input 'SR' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 35:0 extraneous input 'CYL' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 38:0 extraneous input 'BRUPT' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 39:0 extraneous input 'ARUPT' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 40:0 extraneous input 'QRUPT' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 48:0 extraneous input 'TIME2' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 49:0 extraneous input 'TIME1' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 50:0 extraneous input 'TIME3' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 51:0 extraneous input 'TIME4' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 55:0 extraneous input 'PIPAX' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 56:0 extraneous input 'PIPAY' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 57:0 extraneous input 'PIPAZ' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 58:0 extraneous input 'CDUX' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 59:0 extraneous input 'CDUY' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 60:0 extraneous input 'CDUZ' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 61:0 extraneous input 'OPTX' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 62:0 extraneous input 'OPTY' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 142:0 extraneous input 'COUNT' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 542:0 extraneous input 'TC' expecting {, LABEL, COMMENT, '(', EOL, WS} +line 788:3 no viable alternative at input 'ESQ(' +line 995:9 no viable alternative at input 'ERESTORE\t-' diff --git a/erlang/examples/getty.erl.errors b/erlang/examples/getty.erl.errors new file mode 100644 index 0000000000..e1724f6cc9 --- /dev/null +++ b/erlang/examples/getty.erl.errors @@ -0,0 +1,2 @@ +line 19:10 token recognition error at: '?' +line 44:16 token recognition error at: '?' diff --git a/logo/examples/logo_fail_2.txt.errors b/logo/examples/logo_fail_2.txt.errors new file mode 100644 index 0000000000..5374cd5855 --- /dev/null +++ b/logo/examples/logo_fail_2.txt.errors @@ -0,0 +1 @@ +line 1:6 token recognition error at: '"1' diff --git a/logo/examples/logo_feature_butfail_2.txt.errors b/logo/examples/logo_feature_butfail_2.txt.errors new file mode 100644 index 0000000000..0bce406f18 --- /dev/null +++ b/logo/examples/logo_feature_butfail_2.txt.errors @@ -0,0 +1,2 @@ +line 3:12 token recognition error at: 'Í' +line 3:13 token recognition error at: 'â' diff --git a/mumps/examples/epic_questions.m.errors b/mumps/examples/epic_questions.m.errors new file mode 100644 index 0000000000..023777a84e --- /dev/null +++ b/mumps/examples/epic_questions.m.errors @@ -0,0 +1,5 @@ +line 8:0 extraneous input 'set' expecting {, '%', IDENTIFIER, ' ', '\n'} +line 8:10 extraneous input '=' expecting {BREAK, CLOSE, DO, ELSE, FOR, GOTO, HALT, HANG, JOB, KILL, LOCK, MERGE, NEW, OPEN, QUIT, READ, SET, TCOMMIT, TRESTART, TROLLBACK, TSTART, USE, VIEW, WRITE, XECUTE, ' '} +line 8:12 extraneous input '1' expecting {BREAK, CLOSE, DO, ELSE, FOR, GOTO, HALT, HANG, JOB, KILL, LOCK, MERGE, NEW, OPEN, QUIT, READ, SET, TCOMMIT, TRESTART, TROLLBACK, TSTART, USE, VIEW, WRITE, XECUTE, ' '} +line 12:1 extraneous input 'set' expecting {, '%', IDENTIFIER, ' ', '\n'} +line 12:5 extraneous input '^' expecting {, ' ', '\n'} diff --git a/mysql/examples/example1.sql.errors b/mysql/examples/example1.sql.errors new file mode 100644 index 0000000000..c7dede5ab7 --- /dev/null +++ b/mysql/examples/example1.sql.errors @@ -0,0 +1 @@ +line 1:15 extraneous input ';' expecting {, 'select', 'where', ',', 'inner', 'join', 'cross', 'straight_join', 'natural', 'left', 'right'} diff --git a/mysql/examples/example2.sql.errors b/mysql/examples/example2.sql.errors new file mode 100644 index 0000000000..c8084acfaf --- /dev/null +++ b/mysql/examples/example2.sql.errors @@ -0,0 +1 @@ +line 1:19 mismatched input '.' expecting {, 'select', 'where', ',', 'inner', 'join', 'cross', 'straight_join', 'natural', 'left', 'right'} diff --git a/pgn/examples/.DS_Store.errors b/pgn/examples/.DS_Store.errors new file mode 100644 index 0000000000000000000000000000000000000000..532aafd41a598a0f12a0e98e61f790eb7e1a5103 GIT binary patch literal 131 zcmd1F%u7`;v@%f0%`DDMEJ@BtO;O0qD<~~dP-jqANUbPHO)kmIOIN72arJkz(@{`2 z)HP5CQU, '^', 'v'} diff --git a/propcalc/examples/doubleneg.txt.errors b/propcalc/examples/doubleneg.txt.errors new file mode 100644 index 0000000000..e671761baf --- /dev/null +++ b/propcalc/examples/doubleneg.txt.errors @@ -0,0 +1 @@ +line 1:2 extraneous input '|-' expecting {, '^', 'v', LETTER} diff --git a/propcalc/examples/equiv1.txt.errors b/propcalc/examples/equiv1.txt.errors new file mode 100644 index 0000000000..5aadc1ff84 --- /dev/null +++ b/propcalc/examples/equiv1.txt.errors @@ -0,0 +1 @@ +line 1:10 mismatched input '|-' expecting {, '^', 'v'} diff --git a/propcalc/examples/modusponens.txt.errors b/propcalc/examples/modusponens.txt.errors new file mode 100644 index 0000000000..0b51aaea08 --- /dev/null +++ b/propcalc/examples/modusponens.txt.errors @@ -0,0 +1 @@ +line 1:15 mismatched input '|-' expecting {, '^', 'v'} diff --git a/propcalc/examples/modustollens.txt.errors b/propcalc/examples/modustollens.txt.errors new file mode 100644 index 0000000000..f589b6e9a5 --- /dev/null +++ b/propcalc/examples/modustollens.txt.errors @@ -0,0 +1 @@ +line 1:16 mismatched input '|-' expecting {, '^', 'v'} diff --git a/propcalc/examples/syllogism.txt.errors b/propcalc/examples/syllogism.txt.errors new file mode 100644 index 0000000000..32fa9e251c --- /dev/null +++ b/propcalc/examples/syllogism.txt.errors @@ -0,0 +1 @@ +line 1:19 mismatched input '|-' expecting {, '^', 'v'} diff --git a/propcalc/examples/taut1.txt.errors b/propcalc/examples/taut1.txt.errors new file mode 100644 index 0000000000..e98bfabd56 --- /dev/null +++ b/propcalc/examples/taut1.txt.errors @@ -0,0 +1,2 @@ +line 1:2 extraneous input '|-' expecting {, '^', 'v', LETTER} +line 1:11 extraneous input ')' expecting {, '^', 'v', LETTER} diff --git a/propcalc/examples/taut2.txt.errors b/propcalc/examples/taut2.txt.errors new file mode 100644 index 0000000000..e98bfabd56 --- /dev/null +++ b/propcalc/examples/taut2.txt.errors @@ -0,0 +1,2 @@ +line 1:2 extraneous input '|-' expecting {, '^', 'v', LETTER} +line 1:11 extraneous input ')' expecting {, '^', 'v', LETTER} diff --git a/robotwars/examples/dragon.txt.errors b/robotwars/examples/dragon.txt.errors new file mode 100644 index 0000000000..c85348d3bb --- /dev/null +++ b/robotwars/examples/dragon.txt.errors @@ -0,0 +1,15 @@ +line 58:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 63:2 extraneous input '=' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 72:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 75:11 no viable alternative at input '0>' +line 79:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 80:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 82:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 86:2 extraneous input '<' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 87:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 93:2 extraneous input '<' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 95:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 96:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 98:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 105:2 extraneous input '>' expecting {, 'GOSUB', 'GOTO', 'TO', 'ENDSUB', 'IF', '+', '-', '*', '/', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'AIM', 'SHOT', 'RADAR', 'DAMAGE', 'SPEEDX', 'SPEEDY', 'RANDOM', 'INDEX', 'DATA', ID, NUMBER, COMMENT, EOL} +line 106:11 no viable alternative at input '0<' diff --git a/scala/examples/example1.txt.errors b/scala/examples/example1.txt.errors new file mode 100644 index 0000000000..058fda50a5 --- /dev/null +++ b/scala/examples/example1.txt.errors @@ -0,0 +1 @@ +line 2:0 mismatched input 'object HelloWorld {' expecting {, 'implicit', 'lazy', 'case', '@', 'override', 'abstract', 'final', 'sealed', 'private', 'protected', 'import', 'class', 'trait', 'package', ';'} diff --git a/tinyc/examples/example1.c.errors b/tinyc/examples/example1.c.errors new file mode 100644 index 0000000000..6e3690fb0b --- /dev/null +++ b/tinyc/examples/example1.c.errors @@ -0,0 +1 @@ +line 1:29 extraneous input 'literal-backslash-n' expecting {, 'if', 'while', 'do', ';', '{', '(', STRING, INT} diff --git a/tinyc/examples/example2.c.errors b/tinyc/examples/example2.c.errors new file mode 100644 index 0000000000..200879bf60 --- /dev/null +++ b/tinyc/examples/example2.c.errors @@ -0,0 +1 @@ +line 1:57 extraneous input 'literal-backslash-n' expecting {, 'if', 'while', 'do', ';', '{', '(', STRING, INT} diff --git a/tinyc/examples/example3.c.errors b/tinyc/examples/example3.c.errors new file mode 100644 index 0000000000..b8355ae34c --- /dev/null +++ b/tinyc/examples/example3.c.errors @@ -0,0 +1 @@ +line 1:33 extraneous input 'literal-backslash-n' expecting {, 'if', 'while', 'do', ';', '{', '(', STRING, INT} diff --git a/tinyc/examples/example4.c.errors b/tinyc/examples/example4.c.errors new file mode 100644 index 0000000000..21ca19192a --- /dev/null +++ b/tinyc/examples/example4.c.errors @@ -0,0 +1 @@ +line 1:30 extraneous input 'literal-backslash-n' expecting {, 'if', 'while', 'do', ';', '{', '(', STRING, INT}