shaun at ebi.ac.uk wrote: > I was hoping there may be a programmatic alternative (I should have > mentioned) to defining in the grammar each and every keyword alternative. What about generating the lexer programmatically? I don't think 50 keywords (with, say, 10 alternatives for each) would stress ANTLR very much... Bye Vasek