Hello Terence, In June there was a thread about adding "lexical modes" in ANTLR and since no more news about it. Do you plan these feature for the next release of ANTLR, let's say 3.1 ? Or did you already achieve it ? regards, David Crosson.