At 15:31 28/08/2008, Sam Harwell wrote: >Profiling my grammar showed the expression parsing as one of the >slowest segments. The problem stemmed from the fact that this >grammar has ~18 precedence categories of operators, so getting to >a primary expression was unnecessarily slow. Here is an example >grammar that shows how you can flatten groups of operators while >maintaining a correct AST.
What about unary operators? 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 -~----------~----~----~----~------~----~------~--~---
