Timeline for Programming Language Parser (in Java) - What would be a better design alternative for a special case?
Current License: CC BY-SA 3.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 23, 2012 at 18:50 | comment | added | Ira Baxter | "Virtually no implementations use LL..."? ANTLR is LL(star) and is widely used; I think JavaCC is LL. The cure for OP's problem with LL grammars is to refactor the grammar. That isn't always easy, granted, and switching to LR fixes this particular glitch without grammar refactoring. One will discover other grammars for which LR doesn't work so well... for that, GLR parsers are pretty nice. | |
Jul 23, 2012 at 18:38 | history | answered | DeadMG | CC BY-SA 3.0 |