Home | History | Annotate | Download | only in functional
      1 
      2 grammar t058rewriteAST35;
      3 options {language=JavaScript;output=AST;}
      4 tokens {BLOCK;}
      5 a : b b ;
      6 b : (ID INT -> INT ID | INT INT -> INT+ )
      7   ;
      8 ID : 'a'..'z'+ ;
      9 INT : '0'..'9'+;
     10 WS : (' '|'\n') {$channel=HIDDEN;} ;