JSON text is not a subset of PrimaryExpression
Mark Miller
erights at gmail.com
Wed Jul 19 17:11:47 UTC 2017
The benefit that I care about more:
"The following regularity holds between A and B except for this tiny edge
case."
is a much greater cognitive burden on everyone, forever, than
"The following regularity holds between A and B."
On Wed, Jul 19, 2017 at 10:09 AM, Mike Samuel <mikesamuel at gmail.com> wrote:
> On Wed, Jul 19, 2017 at 12:40 PM, Allen Wirfs-Brock
> <allen at wirfs-brock.com> wrote:
> > The “issue” raised is one word in a non-normative paragraph. It can be
> > corrected with a one word change. Replace
> >
> > "Valid JSON text is a subset of the ECMAScript PrimaryExpression syntax
> as
> > modified by Step 4 above.”
> >
> > with
> >
> > "Valid JSON text is a variant of the ECMAScript PrimaryExpression syntax
> as
> > modified by Step 4 above.”
>
> +1. AFAICT, the only benefit "subset" gets us is that it's a bit
> easier to paste JSON into a .js file.
> I doubt a significant number of people are pasting JSON with the
> problematic codepoints but if there are that can be addressed by
> js-mode.el or your favorite analogue.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
--
Cheers,
--MarkM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20170719/3da315c7/attachment.html>
More information about the es-discuss
mailing list