[antlr-interest] antlr gramma versus yacc grammar

Johannes Luber jaluber at gmx.de
Tue Nov 20 14:55:03 PST 2007


Kevin J. Cummings wrote:
> Mathew Yeates wrote:
>> I haven't found mention of yacc yet in the book. How do yacc and antlr
>> differ?
> 
> YACC is LALR(1) (or almost LALR(1)), while ANTLR is LL(k).

ANTLR is LL(*) - no limit regarding the number of tokens.

Johannes



More information about the antlr-interest mailing list