[antlr-interest] Re: Local lookahead depth

Joe Comuzzi jcomuzzi at novell.com
Fri Nov 14 10:08:04 PST 2003


This is what I tried to argue before - I think you can always deal with
this problem by adding another tree-walk pass, but you may not get as
good diagnostics doing that...

Joe C.

>>> johnm-antlr at non.net 11/14/2003 12:47:53 PM >>>
>>>>> "leung13512c" == leung13512c  <leung13512c at yahoo.com> writes:
[...]

> If the decision change the interpretation of what follows, you may
not be
> able to delay that decision to the next pass.

Ah, yes, the possibility that you need to change what's expected at
the
same level (i.e., in the parser) makes sense.

> Well thought out language probably would have avoid such scenerio but
may
> be there are some bad guys.

Indeed!

Thanks,
	John


 

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



 

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




More information about the antlr-interest mailing list