[Webkit-unassigned] [Bug 33860] potential speed up of parser by recoding expression rules
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 21 10:06:37 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=33860
Zach Carter <zack.carter at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |zack.carter at gmail.com
--- Comment #2 from Zach Carter <zack.carter at gmail.com> 2010-01-21 10:06:37 PST ---
Right, by using ambiguous rules and manually resolving the ambiguities using
precedence directives, it should reduce the number of reductions needed. You
can also set the precedence of an operator token directly:
%left '+' '-'
%left '*' '/'
etc...
E.g. any rule with a '+' token will have the associated precedence, although
using %prec gives you direct control over which rule to apply the precedence
to.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list