[antlr-interest] Re: Antlr grammar to parse Java classfile?
Terence Parr
parrt at jguru.com
Thu Dec 6 12:23:08 PST 2001
On Wednesday, December 5, 2001, at 04:01 PM, John D. Mitchell wrote:
> [...]
>> Let's see. Well, it's close, but it wouldn't give you an error if you
>> have less than blockCount. You need that "did I get enough" check at
>> the
>> end of the loop. Could do with a simple "validating" sem pred after
>> loop.
>
> Hmm... How is that going to be safe in the face of hoisting?
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
--
Chief Scientist & Co-founder, http://www.jguru.com
Creator, ANTLR Parser Generator: http://www.antlr.org
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list