Home | History | Annotate | Download | only in functional
      1 grammar t043synpred;
      2 options {
      3   language = JavaScript;
      4 }
      5 
      6 a: ((s+ P)=> s+ b)? E;
      7 b: P 'foo';
      8 
      9 s: S;
     10 
     11 
     12 S: ' ';
     13 P: '+';
     14 E: '>';
     15