> > With ANTLR 3, the default is k='*' and it is best not to set k. Syntactic > predicates are still needed to disambiguate decisions with potentially > infinite lookahead (usually due to recursion or looping). > > I can't understand the statement "It is best not to set k". Say there are left factoring opportunities, which we won't come to know, unless it is thrown as an error(after setting k)...
I think, you are assuming that the grammar cannot be left factored further. Or are you saying there is no difference in performance between LL(*) and LL(1)? Please clarify. Thanks, Gokul. List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
