[rfc-i] Normative ABNF [was Re: Re: Normative information in RFC imagery]

Marc Petit-Huguenin <marc@petit-huguenin.org> Wed, 14 May 2025 15:41 UTC

Return-Path: <marc@petit-huguenin.org>
X-Original-To: rfc-interest@mail2.ietf.org
Delivered-To: rfc-interest@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 3B6E12886C08 for <rfc-interest@mail2.ietf.org>; Wed, 14 May 2025 08:41:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jCrszp0u7MdN for <rfc-interest@mail2.ietf.org>; Wed, 14 May 2025 08:41:15 -0700 (PDT)
Received: from implementers.org (implementers.org [92.243.22.217]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id AE5382886BFB for <rfc-interest@rfc-editor.org>; Wed, 14 May 2025 08:41:15 -0700 (PDT)
Received: from [IPV6:dd98:5da8:d209:0:8eae:4cff:fee9:ae20] (unknown [IPv6:2601:204:f000:5c58::708]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "petithug", Issuer "implementers.org" (verified OK)) by implementers.org (Postfix) with ESMTPS id A81C4AE232; Wed, 14 May 2025 17:41:13 +0200 (CEST)
Message-ID: <a1086ecc-cf4a-4811-8a57-27ff2ebf081a@petit-huguenin.org>
Date: Wed, 14 May 2025 08:41:10 -0700
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Martin Thomson <mt@lowentropy.net>, Brian E Carpenter <brian.e.carpenter@gmail.com>, Alexis Rossi <alexisrossirsce@gmail.com>, rfc-interest@rfc-editor.org
References: <CALLfFGPtFPZh2onghyiiurH0QBOUmde7Xck66+0tv7-OF07QgA@mail.gmail.com> <69e8dbcf-d026-4558-b28d-fb24964a171a@petit-huguenin.org> <ed683cdd-3b40-4594-9b8d-426df7adb647@gmail.com> <1efad090-1b27-4fe4-b499-a29ee5285d1e@petit-huguenin.org> <14ab6a57-8ef2-497b-89a3-0d6bf1809f0a@betaapp.fastmail.com>
From: Marc Petit-Huguenin <marc@petit-huguenin.org>
Content-Language: en-US
Autocrypt: addr=marc@petit-huguenin.org; keydata= xsFNBE6Mh9wBEADrUEDZChteJbQtsHwZITZExr7TAqT7pniNwhBX3nFgd+FrV3lsLKJ1rym2 52MAYpubXEJZGzMp6uCCAnROWbtmQbOm8z/jHnjxHhPqfuYCYPpAQqu8K/Sc194Rp37krMwB jz32yr7+gvWLzRgQGKIh9d2mzy8QLMETVWWQWGb6fEfpOxXo0wumN1rc/275kZwOu44JIPGg zbgwZdnEqYOUUa18K9MXeRDoWbwDISP30CvKuZDwD14lbBE3o7tBQrU9uoMhE7eFlTjbsCox qoubI2tZSuOTF8mRXjPmNrRGtf9mYkQnOB7y6qy/QxmOVMq4IRtHzOYIm/EZ6NTodcpZQHOM 2v6B6YK9uKrYrapSpJzn4f9oU7alT31Y3o2hOlxAWDQ16+Dd1MOPYsKQXOwY1/ihm4PTjiJ8 ud8yPzy7c+BSVs5wkBU6QuLNIgZHrrxdn+KxM+F/oAVtfzO7XzVoeOcXyWi3/CHL5pgoBruY enIF/RrRuplpy09pvZjmFPNfqKBYJGnqpQuqsQ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nYRQHitoQhWtviHWl7x/KL42aUzHirLR61iVA2kqkO BhU+u+g2w8qrZj+lJfXIxlbVyLOuBVqkfcK28AR9RriB4Q5hvbDeQJMgfZsV2hBt7huBOqkH nnbSCguqfnmwLGkxoM7RVjCQwvC1M57uwdKMlsTVaBP0RreZnrDngLamK+ibXYe7p8pPAWD9 cuHvkkjML7cIfuvbScDYRmGzia3V9+LVzQCm+q/6xUY1SZvrDz7OaJOy3Xb1d+aPhYaNC0TQ 7IqA1dx8rZYQ
In-Reply-To: <14ab6a57-8ef2-497b-89a3-0d6bf1809f0a@betaapp.fastmail.com>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="------------whk9LWyPfyl32TIg6j2FdLYl"
Message-ID-Hash: JDC5U2FOY6PHNGCJ7Z2OORNBWKLIG2OX
X-Message-ID-Hash: JDC5U2FOY6PHNGCJ7Z2OORNBWKLIG2OX
X-MailFrom: marc@petit-huguenin.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-rfc-interest.rfc-editor.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [rfc-i] Normative ABNF [was Re: Re: Normative information in RFC imagery]
List-Id: "A general discussion list about the RFC Series and its operational processes." <rfc-interest.rfc-editor.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rfc-interest/L7YGvJ0-EWqDLVfSWNB5u6czyes>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rfc-interest>
List-Help: <mailto:rfc-interest-request@rfc-editor.org?subject=help>
List-Owner: <mailto:rfc-interest-owner@rfc-editor.org>
List-Post: <mailto:rfc-interest@rfc-editor.org>
List-Subscribe: <mailto:rfc-interest-join@rfc-editor.org>
List-Unsubscribe: <mailto:rfc-interest-leave@rfc-editor.org>

On 5/13/25 4:57 PM, Martin Thomson wrote:
> On Wed, May 14, 2025, at 09:43, Marc Petit-Huguenin wrote:
>> No to making anything but English sentences normative.  People can add 
>> all the examples, diagram, images, and alt tags they want in an RFC, I 
>> am going to ignore all of them and complain loudly that the protocol 
>> cannot be implemented.
> 
> Ah, that's roughly the same as Brian's "yes", then.  This language we write in is amazing.  I also agree, in principle.
> 
> There is a place for formal definition in languages other than English.  Things like formal schema definitions might appear in "figures", which is unclear to a reader, even if we have that distinction in source with <artwork> vs. <sourcecode>.  This guidance needs to be limited to <artwork> and non-essential <sourcecode>: imagery, examples, and "supporting" material.  The stuff that might help comprehension, but might not need to be formally understood to implement.  
> 
> Normative ABNF (whoa, there's open debate about that as a good idea too, not going to take an absolutist position on that) might need to be normative.  But ABNF isn't pictures, so maybe we avoid that problem.
> 

https://datatracker.ietf.org/doc/draft-rivest-sexp/ is a good example of a language whose ABNF cannot be normative (that's because the s-exp variant described in it is non-context free).  Even without that, a normative ABNF would be too complex (if you look closely at my formalization of that spec, you can understand why).  So that's really an example of the English text be good enough to describe it clearly, but the formalization too complex for anyone but the purist.  That's why I think that formalizations are best as tools used to generate an RFC, but are not as useful inside the RFC itself.