[antlr-interest] Local lookahead depth

Oliver Zeigermann oliver at zeigermann.de
Fri Nov 7 01:16:35 PST 2003


Another nice feature of LLK

http://llk.sourceforge.net

is that it allows to specify lookahead depth locally per block. This 
allows for more efficient parsing as only for the rules that need deep 
lookahead this code is generated.

Also nice!

Oliver

Oliver Zeigermann wrote:
> Hi,
> 
> there is a nice feature in LLK
> 
> http://llk.sourceforge.net
> 
> that allows certain semantic actions to be executed even when guessing 
> in syntactic predicates. This allows for a wider range of parseable 
> languages as you can query results of these actions in semantic predicates.
> 
> I have a modification of ANTLR that does this as well running fine and 
> would like to discuss if this would be a nice feature for future ANTLR 
> version.
> 
> Cheers,
> 
> Oliver



 

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




More information about the antlr-interest mailing list