[antlr-interest] Re: Local lookahead depth

John D. Mitchell johnm-antlr at non.net
Mon Nov 10 21:09:05 PST 2003


>>>>> "Oliver" == Oliver Zeigermann <oliver at zeigermann.de> writes:
>>>>>> John D. Mitchell wrote:
[...]

>> Do you really *need* to do that strictly in the parser?  Why not just
>> suck down a simpler language in the parser -- which recognizes any
>> number of stars followed by a # -- and then do a more refined semantic
>> check in a later stage.  That would make for a much cleaner solution.

> John, it seems we again have a communication problem. It is just an
> example to illustrate something. I do not have a practical problem like
> this. This is a *theoretical* discussion. I am talking *theory* all the
> time :)

That's exactly my point...  There's NO increase in the *theoretical* power
of the translation system based upon the use of guarded predicates in the
parser.

Take care,
	John

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list