[antlr-interest] DFA ignoring my input

Jim Idle jimi at temporal-wave.com
Fri Dec 11 17:34:02 PST 2009


It might be worth reading the other replies to a question before repeating the same answer :-)

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of David-Sarah Hopwood
> Sent: Friday, December 11, 2009 4:43 PM
> To: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] DFA ignoring my input
> 
> Michael Leibow wrote:
> > I've taken a tiny subset of a VHDL 2002 grammar I've been working on
> > (and having problems with) to elicit some help.  Please help me
> before
> > I run out of hair.
> [...]
> > k=1
> 
> To start with, don't set k. It almost never helps for it to be anything
> other than the default, k = *. Setting it too small will produce a
> parser that is effectively incorrect.
> 
> --
> David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com






More information about the antlr-interest mailing list