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

Norman Dunbar Norman at dunbar-it.co.uk
Thu Nov 3 09:46:20 PDT 2011


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


More information about the antlr-interest mailing list