Re: [Json] Nudging the English-language vs. formalisms discussion forward

Nico Williams <nico@cryptonector.com> Wed, 19 February 2014 18:23 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18B131A0510 for <json@ietfa.amsl.com>; Wed, 19 Feb 2014 10:23:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Level:
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Z_j3NucUC2a for <json@ietfa.amsl.com>; Wed, 19 Feb 2014 10:23:45 -0800 (PST)
Received: from homiemail-a77.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by ietfa.amsl.com (Postfix) with ESMTP id C23411A050D for <json@ietf.org>; Wed, 19 Feb 2014 10:23:44 -0800 (PST)
Received: from homiemail-a77.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a77.g.dreamhost.com (Postfix) with ESMTP id 0E4969409D for <json@ietf.org>; Wed, 19 Feb 2014 10:23:24 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type:content-transfer-encoding; s= cryptonector.com; bh=2jydkh/5uyI99n+ShgQ/I7g8/G4=; b=NuyQXUnDt/Y oIWpRgmWXgwaveQehSr/XTueXrfwEOLGKYMz5iTonMXROZAPu8OJUH4ON7IY/S+Q Jomn9SRik1s7VqUkOj5apzIIRsKWgn3+IbjhMBwbzDCENaXeBvHBiZ1wDLR5cQm4 Zm9DQ9g87cJwDY6Rt9cUMjnzIXba46e8=
Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a77.g.dreamhost.com (Postfix) with ESMTPSA id 4315B94085 for <json@ietf.org>; Wed, 19 Feb 2014 10:22:14 -0800 (PST)
Received: by mail-wg0-f42.google.com with SMTP id k14so4340054wgh.1 for <json@ietf.org>; Wed, 19 Feb 2014 10:22:05 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=5A3O1mQ4ZkU9oaklszoaorhnurLcxtAvARI/03uUb/0=; b=ShSl6LnD5ByrzCNzlcMB/FzfzxfzP1AkC2oeeIedP10b1/tuCaLfF0aCj0BTZcLAza uOVMh9xF9SfEkqPTJ6fz6NbzSnx2qFAaSm03ttflb+cZJgqDavxu8iGCIY4l7kfsI8Px FBXVBP+oYydvUQUQwTZCRAIhDTlxQTqm+0fEnWMsegl97Wtr7faAWGXx4j9YVzH3EY8V ktunZg+T7oRF7FHrYN304U1tlaNTvEF8BlMH0jn7xOdySuO0RB9JotVrIVbnqDN3wywK e9DT16qaX74GlChWlPnsgrCksy1AeP5A3O1zIBpt0ucpl1+ysGeW5Uxt67Sp9K+mktbm z39A==
MIME-Version: 1.0
X-Received: by 10.180.77.74 with SMTP id q10mr2882047wiw.39.1392834125028; Wed, 19 Feb 2014 10:22:05 -0800 (PST)
Received: by 10.217.108.132 with HTTP; Wed, 19 Feb 2014 10:22:04 -0800 (PST)
In-Reply-To: <CAHBU6isZbew8O1HJ+XcFsMCR42iDoO_uemPXVwa3=vM5A=MngA@mail.gmail.com>
References: <C87F9B96-E028-4F0E-A950-B39D3F68FFE7@vpnc.org> <CAMm+LwhUh_yN-hzaoDWfrO_H2iGvYvj99BCE4EcYmgqCPqXoVQ@mail.gmail.com> <CAHBU6itpttXBfVQGKw=u==k_XSdrht81+m_YDNZP6RM+=9CNow@mail.gmail.com> <CAK3OfOjHkBFOzJSx=bhhoQJ8Z2bWyEXK52dNyYGWVb9FAj99ow@mail.gmail.com> <CAHBU6itzQ0rzU3EUYUqzm2qhx03qk1mpx2sehS_zeiw1ypcEgw@mail.gmail.com> <CAK3OfOhfjkbq6eREkt=MBVL1C9ubh-6My3Lvg-mnOxD0+cpN1Q@mail.gmail.com> <CAHBU6isZbew8O1HJ+XcFsMCR42iDoO_uemPXVwa3=vM5A=MngA@mail.gmail.com>
Date: Wed, 19 Feb 2014 12:22:04 -0600
Message-ID: <CAK3OfOgmVsNJqrqCfsD7h37axssOoaX3DGHqO=bTn5bWrA+MFA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Tim Bray <tbray@textuality.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/json/4z1l091e8yHLssACQtx_nyRoRVs
Cc: Phillip Hallam-Baker <hallam@gmail.com>, Paul Hoffman <paul.hoffman@vpnc.org>, JSON WG <json@ietf.org>
Subject: Re: [Json] Nudging the English-language vs. formalisms discussion forward
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Feb 2014 18:23:46 -0000

On Wed, Feb 19, 2014 at 12:10 PM, Tim Bray <tbray@textuality.com> wrote:
> On Wed, Feb 19, 2014 at 9:40 AM, Nico Williams <nico@cryptonector.com>
> wrote:
>> I really want any JSON schema to be expressed in JSON itself
>
> Reasonable sounding, but the resounding success of RelaxNG’s non-XML syntax
> (which surprised me, for one) makes this sort of idea less self-evidently
> true.

It's compact form, but yes, yours and Pete Cordell's are great points.
 Fair enough.  I'd be fine with any syntax that maps onto JSON (like
RNG compact onto XML) and is easy to write LALR(1) grammars for.

Nico
--