-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2839 from privat/nitcc-groups
nitcc add groups and small improvments
- Loading branch information
Showing
19 changed files
with
300 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
sa | ||
sab | ||
sac | ||
s | ||
sad | ||
sadad | ||
t | ||
tae | ||
taeae |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Grammar gram; | ||
Lexer | ||
blank = #10 | #13 | #32; | ||
Parser | ||
Ignored blank; | ||
s = | ||
s 's' ('a' 'b') | | ||
s 's' ('a') | | ||
s 's' ('a' 'c')? | | ||
s 's' ('a' 'd')+ | | ||
s 't' ('a' 'e')* | | ||
Empty; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
s ab | ||
s abab | ||
s abb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Grammar gram; | ||
Lexer | ||
blank = #10 | #13 | #32; | ||
Parser | ||
Ignored blank; | ||
s = s 's' t | Empty; | ||
t = ab+ ; | ||
ab = 'a' 'b' ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
sabc | ||
sac | ||
sabbc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Grammar gram; | ||
Lexer | ||
blank = #10 | #13 | #32; | ||
Parser | ||
Ignored blank; | ||
s = s 's' t | Empty; | ||
t = 'a' 'b'? 'c'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
s | ||
sab | ||
sabab | ||
saba |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Grammar gram; | ||
Lexer | ||
blank = #10 | #13 | #32; | ||
Parser | ||
Ignored blank; | ||
s = s 's' t | Empty; | ||
t = ab* ; | ||
ab = 'a' 'b'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
11:15-11:16 Syntax Error: Unexpected '('; is acceptable instead: priority+, priority | ||
11:20-11:29 Syntax Error: Unexpected unknown_keyword 'Separator'; is acceptable instead: elem, text |
2 changes: 1 addition & 1 deletion
2
contrib/nitcc/tests/sav/inf5000-06-grammaire2-instructions.alt3.res
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20:8-20:9 Syntax Error: Unexpected '('; is acceptable instead: priority+, priority | ||
20:14-20:23 Syntax Error: Unexpected unknown_keyword 'Separator'; is acceptable instead: elem, text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
8:18-8:19 Syntax Error: Unexpected '('; is acceptable instead: priority+, priority | ||
8:25-8:34 Syntax Error: Unexpected unknown_keyword 'Separator'; is acceptable instead: elem, text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
Start | ||
s_4 | ||
s_4 | ||
s_4 | ||
s_3 | ||
s_3 | ||
s_2 | ||
s_2 | ||
s_0 | ||
s_1 | ||
s_5 | ||
's'@(1:1-1:2) | ||
_group1_single | ||
'a'@(1:2-1:3) | ||
's'@(2:1-2:2) | ||
_group0_single | ||
'a'@(2:2-2:3) | ||
'b'@(2:3-2:4) | ||
's'@(3:1-3:2) | ||
_group2_single | ||
'a'@(3:2-3:3) | ||
'c'@(3:3-3:4) | ||
's'@(4:1-4:2) | ||
's'@(5:1-5:2) | ||
Nodes[N_group3] | ||
_group3_single | ||
'a'@(5:2-5:3) | ||
'd'@(5:3-5:4) | ||
's'@(6:1-6:2) | ||
Nodes[N_group3] | ||
_group3_single | ||
'a'@(6:2-6:3) | ||
'd'@(6:3-6:4) | ||
_group3_single | ||
'a'@(6:4-6:5) | ||
'd'@(6:5-6:6) | ||
't'@(7:1-7:2) | ||
't'@(8:1-8:2) | ||
Nodes[N_group4] | ||
_group4_single | ||
'a'@(8:2-8:3) | ||
'e'@(8:3-8:4) | ||
't'@(9:1-9:2) | ||
Nodes[N_group4] | ||
_group4_single | ||
'a'@(9:2-9:3) | ||
'e'@(9:3-9:4) | ||
_group4_single | ||
'a'@(9:4-9:5) | ||
'e'@(9:5-9:6) | ||
Eof@(10:1-10:1)='' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
NParserError@(3:5-3:6)='b' | ||
Nodes[Node] | ||
s_0 | ||
s_0 | ||
s_0 | ||
s_1 | ||
's'@(1:1-1:2) | ||
t | ||
Nodes[Nab] | ||
ab | ||
'a'@(1:3-1:4) | ||
'b'@(1:4-1:5) | ||
's'@(2:1-2:2) | ||
t | ||
Nodes[Nab] | ||
ab | ||
'a'@(2:3-2:4) | ||
'b'@(2:4-2:5) | ||
ab | ||
'a'@(2:5-2:6) | ||
'b'@(2:6-2:7) | ||
's'@(3:1-3:2) | ||
t | ||
Nodes[Nab] | ||
ab | ||
'a'@(3:3-3:4) | ||
'b'@(3:4-3:5) | ||
'b'@(3:5-3:6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
NParserError@(3:4-3:5)='b' | ||
Nodes[Node] | ||
s_0 | ||
s_0 | ||
s_1 | ||
's'@(1:1-1:2) | ||
t | ||
'a'@(1:2-1:3) | ||
'b'@(1:3-1:4) | ||
'c'@(1:4-1:5) | ||
's'@(2:1-2:2) | ||
t | ||
'a'@(2:2-2:3) | ||
'c'@(2:3-2:4) | ||
's'@(3:1-3:2) | ||
'a'@(3:2-3:3) | ||
'b'@(3:3-3:4) | ||
'b'@(3:4-3:5) |
Oops, something went wrong.