[Webkit-unassigned] [Bug 34019] custom-written parser

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 22 22:12:09 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34019





--- Comment #8 from Zoltan Herczeg <zherczeg at webkit.org>  2010-01-22 22:12:09 PST ---

> Any idea how easy/hard your model would make free variable analysis?

Agree, it would be good to put some effort analysis here.

Features, the new parser should do:
   - generating nodes for nested functions
     effort: easy. Actually this feature was in the code, but I removed it the
gain some speed.
   - variable analysis
     effort: easy. We need some kind of 'set' where we can put the variables (I
assume we talk about primary literals here). Because the tokens returned by the
lexer analysed in order, we could easly check any dependency requirements
between primary literals.
   - some other strict mode requirements:
     - with is not supported
       effort: easy
     - eval is a reserved word
       effort: easy
     - arguments is a reserved word
       nooo arguments again... anyway, probably easy

-- 
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