On Aug 30, 2008, at 3:21 AM, Ronghui Yu wrote:
> I tried L-factoring and syntax predicate, but I couldn't remove all > errors yet. One of the parsers has almost 1000 rules, does it reach > ANTLR limit? No, there's not a limit like that. The only problems I've had are codesize issues with Java, but that doesn't have anything to do with backtracking, anyway. > Anyway, I think I need to follow the method to deal with rules one > by one. Either the language is highly ambiguous or you have a mistake in your grammar. SQL is not particularly nice as a language to parse...lots of room for mistakes :( Try to understand where it starts becoming ambiguous and you'll eventually find it. Takes time and practice though. cheers, -k -- Kay Röpke http://classdump.org/ List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/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 -~----------~----~----~----~------~----~------~--~---
