[antlr-interest] Newick tree grammar help: file has no rules

Chris Friedline cfriedline at vcu.edu
Thu Nov 3 09:50:12 PDT 2011


Perfect.  Thanks of both Norman and John!

On Nov 3, 2011, at 12:46 PM, Norman Dunbar wrote:

> 
> On 03/11/11 16:00, Chris Friedline wrote:
>> I'm trying to build a grammar file for parsing newick trees, and am having some issues generating the code from AntlrWorks.  I get an error message like this:
> 
> Change "tree" to "xtree" and all appears well. I'm assuming that "tree" 
> is some sort of reserved word somewhere in the system?
> 
> Cheers,
> Norm.
> 
> Disclaimer: I'm not a compiler writer, nor do I play one on TV.
> 
> -- 
> Norman Dunbar
> Dunbar IT Consultants Ltd
> 
> Registered address:
> Thorpe House
> 61 Richardshaw Lane
> Pudsey
> West Yorkshire
> United Kingdom
> LS28 7EL
> 
> Company Number: 05132767
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list