JSON parser grammar

Mark S. Miller erights at google.com
Tue Jun 2 23:06:00 PDT 2009

On Tue, Jun 2, 2009 at 10:56 PM, Allen Wirfs-Brock <
Allen.Wirfs-Brock at microsoft.com> wrote:

> My inclination would be to require ES5 implementation to exactly conform
> the whatever JSON grammar we provide and to throw syntax errors if the input
> doesn't exactly conform to the grammar. (in other say that the section 16
> extension allowance doesn't apply to JSON.parse.  If an implementation wants
> to support JSON syntax extensions it could always do so by providing a
> JSON.parseExtended function (or whatever they want to call it) that uses an
> implementation defined grammar.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20090602/ca708b91/attachment.html>

More information about the es-discuss mailing list