There appears to be something fundamental that I am not "getting"
about the way semantic predicates work. In the grammar below, the
input "cat" is recognized using the rule "cat" but in not recognized
by either the rule "expr" or the rule "pexpr". Could someone explain
to me why this is so
blems.
On Oct 16, 2009, at 3:35 PM, Kaleb Pederson wrote:
> On Fri, Oct 16, 2009 at 10:39 AM, Robert Wentworth
> wrote:
>> There appears to be something fundamental that I am not "getting"
>> about the way semantic predicates work. In the grammar below, the
>&
Trying to generate code for the grammar below generates an
OutOfMemoryError related to trying to analyze a DFA for the Lexer.
Can anyone suggest how I can successfully generate an ANTLR Lexer for
this grammar (or an equivalent grammar)?
Notes:
(1) For STRINGFIELD and NUMBERFIELD, I've tried