Hi!
Does anybody know if ANTLR 3.0 supports templates?
Maybe I did not read Ter's blog right.
I would like to have something like that:
expr<Op,Next> : <Next> (<Op> <Next>)* { /* doing lots of changes here
*/ };
plusMinus: expr<PLUS|MINUS,mulDiv>;
mulDiv: expr<MUL|DIV,literal>;
literal: INT | id;
Sebastian.