[antlr-interest] Re: Antlr grammar to parse Java classfile?
Sinan
sinan.karasu at boeing.com
Thu Dec 6 14:34:04 PST 2001
Terence Parr wrote:
>
[...]
>
> Hmm...not sure if it's an issue or not. I just realized though that the
> code gen is easy but the analysis might not be so easy to enhance.
> There is no concept of repeated grammatical item in my internal data
> structure.
>
> Ter
Is this the reason that things like
rule : ({ some==thing}? other )+ ;
tend to have problems , but
rule : other ( { some==thing}? rule) ? ;
works fine ?????
My experience has been that tail recursion and repetition don't always
work the same....
Sinan
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list