[Webkit-unassigned] [Bug 20031] Implement ES 3.1 JSON object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 15 03:27:38 PDT 2008


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





------- Comment #10 from mjs at apple.com  2008-07-15 03:27 PDT -------
I discussed this with Sam, Geoff and Oliver at the office today. Most of us
agreed that using the existing JavaScriptCore lexer along with a bison grammar
would be a better approach than an ad-hoc custom parser. Geoff also argued that
it would be better to use the full JS parser and then study the syntax tree to
ensure that it has no JSON violations, but the rest of us thought the existing
lexer plus a custom grammar would work better. (In theory though, I guess it
could create the same kinds of AST nodes as the full parser and thus the back
end could just consist of compiling and executing the resulting syntax tree. Or
alternately the grammar could directly create JS values and combine them, but
there might be GC problems with this approach).


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list