15 lines
123 B
Plaintext
15 lines
123 B
Plaintext
![]() |
grammar t043synpred;
|
||
|
options {
|
||
|
language = Python;
|
||
|
}
|
||
|
|
||
|
a: ((s+ P)=> s+ b)? E;
|
||
|
b: P 'foo';
|
||
|
|
||
|
s: S;
|
||
|
|
||
|
|
||
|
S: ' ';
|
||
|
P: '+';
|
||
|
E: '>';
|