[Webkit-unassigned] [Bug 34019] custom-written parser
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jan 22 14:35:50 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=34019
Oliver Hunt <oliver at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |oliver at apple.com
Ever Confirmed|0 |1
--- Comment #3 from Oliver Hunt <oliver at apple.com> 2010-01-22 14:35:50 PST ---
I'm unsure why the syntax checker is separate from the parser. Syntax checking
is basically answering the question "can i parse this".
There are semantic checks that we will want to do while parsing:
the various "features" we track
variable and function accumulation
partial AST generation
New things we _must_ be able to do in the new parser:
strict mode identification needs to be done during the parse stage and
alters the state of the parser to reject constructs that lax mode would allow,
and produces parse time errors instead). For efficiency reasons this basically
forces us into a recursive-descent parser :-/
--
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