On 03/12/2010 1:18 AM, Alex Repain wrote: > Is there some study work about how LR is supposed to help setting > operator precedences ?
I should have said "associativity" rather than "precedence". Left-recursive rules naturally produce a left-associative AST (http://en.wikipedia.org/wiki/Left_recursion#Pitfalls); precedence is handled by the structure of the grammar. -- Gordon Tisher http://balafon.net _______________________________________________ PEG mailing list PEG@lists.csail.mit.edu https://lists.csail.mit.edu/mailman/listinfo/peg