There is not enough info in the e-mail for me to determine the exact problem. If there is a problem with the grammar ANTLRWorks should catch it when building. If ANTLRWorks correctly builds the lexer and parser, and then the error appears when parsing, I would check the input against what the grammar accepts. Eric