[rfc-i] Re: Normative ABNF [was Re: Re: Normative information in RFC imagery]
Eric Rescorla <ekr@rtfm.com> Mon, 19 May 2025 03:43 UTC
Return-Path: <ekr@rtfm.com>
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 1DC272A03896 for <rfc-interest@mail2.ietf.org>; Sun, 18 May 2025 20:43:10 -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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=rtfm-com.20230601.gappssmtp.com
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 yfVixNB45S-b for <rfc-interest@mail2.ietf.org>; Sun, 18 May 2025 20:43:09 -0700 (PDT)
Received: from mail-yb1-xb2b.google.com (mail-yb1-xb2b.google.com [IPv6:2607:f8b0:4864:20::b2b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 411192A0388F for <rfc-interest@rfc-editor.org>; Sun, 18 May 2025 20:43:09 -0700 (PDT)
Received: by mail-yb1-xb2b.google.com with SMTP id 3f1490d57ef6-e7b5f81594fso3072720276.3 for <rfc-interest@rfc-editor.org>; Sun, 18 May 2025 20:43:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20230601.gappssmtp.com; s=20230601; t=1747626188; x=1748230988; darn=rfc-editor.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=X3Eof6nwDDb8I9ksDIPilze98u+zh/DILSWTOCmIdEw=; b=TWiyvuq8RIpAIY+vhobJL6YB51C3AJ6uJhDkOoZ+eD+JJB6p3Gg+qhXiTTbTyQlkPi 3YwFn5qyDJmD7OSDK/GZQjJTq4njEtzxjIqOZ20aaXcpUlIaMnWLTXESUoakDDHdznB2 VGCcKeLI579upAgnDq5QNaehGbDKYqQGmDhBtkTPxXv0/Jsl1I0P7uVJrsVtSecWvt7w GdiTI1m0kEg1RA+ZPNT+gJxDJuf5BDyKcinG3QLvT1Zizh/pcPjRNGSGO5i6J/EKVUVu DruWL8gDZr65rSmn/k/Cx2Syqh8yvypEqWCBNO0c6aRg8GHQ5HDjw9T3OyXpMg6U9TqC Ce3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747626188; x=1748230988; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=X3Eof6nwDDb8I9ksDIPilze98u+zh/DILSWTOCmIdEw=; b=uOoWYFyb89ieUxzDlS82buVtpWaeh4LSnncdMvlQ6G7ivFoUsYHxe2RhaZ0Pk7+Bat Df3y4/xXWVXOg1sL5Z1/4g8UcF3vCGCLxYxicu4WNPCuD9v+ktYGYvdchTiRx+Q8DBXl 98dgw2Vz0syL+CI4se71GCaNSzpVPajebGGPCmzH2VOOHRypHINuyfMqPEiD6zy3ItIk c0dVHTtPvAc5qRu6xDitCuYZBIpROniPtiFD0dI3j/0zGD/3pDczuF9SGi6wnS5WMJav VGEk1z1HDpFjpVmIdL2nZF1rTFnRCPi/Ms3msCx6xlhzNZREmnPpTZhBsRg5jFTsKwVy yIlg==
X-Forwarded-Encrypted: i=1; AJvYcCUR43aA07fkms+2bAOw93uBoEihDtBi4iM/19VV9qN2ykrfEZNG6HB2OadVh5gsPOjvrQCw4crDePOpf5c=@rfc-editor.org
X-Gm-Message-State: AOJu0Yy1hxSWnI6hmVAJV2YWTxuwTt1qN066vHxf4FQS+UVAgJSDvw+8 6zs5kIEwu22StgG37zOgQiRzcz1CFCdwxBHlmxUtJ3w/Aib9831XZ2IEWc4q0tXgTzBFxJaa+CZ gUFFeW7nv/mn+AI0ey19w3bdrKtG6nPySlPpuqyzamw==
X-Gm-Gg: ASbGncuOMFO2bu94rofaihfnxgDpfThb0w85HemmzVETrzGsAHelMHcFQXv24A6Yf5R LGJeFtm5uKMtUikWB6Qk8LP9R8e+yNSywNpPEL1FH4RyPvEQ/OQup1uuQVRewib6INlo1Cta6sR LPx64+ctpAJQeW/rjqjKr8Q01JBjHp3ZnEirQd/kjLiw/gtw==
X-Google-Smtp-Source: AGHT+IH2QJDEL5O5j3qVxt7xDouQnxdiqbCpqC/ruzHBDSN9+zgTkICVaBD1QCsHcLaEk6xc7Sg8iApMo3yNaytBS/o=
X-Received: by 2002:a05:6902:4786:b0:e79:a4d6:14a2 with SMTP id 3f1490d57ef6-e7b6a317439mr18024814276.33.1747626188521; Sun, 18 May 2025 20:43:08 -0700 (PDT)
MIME-Version: 1.0
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> <a1086ecc-cf4a-4811-8a57-27ff2ebf081a@petit-huguenin.org> <33196C28-E0B5-435D-981A-70D616F7E6DC@tzi.org> <64858c16-33a3-4e39-854d-71eec016fb71@petit-huguenin.org> <aa116a30-6bad-4b9d-91d0-7136a6b4f36f@alum.mit.edu> <IA1PR17MB6421B844CF24A1099FADA6B4CD93A@IA1PR17MB6421.namprd17.prod.outlook.com> <021becc9-8aba-405c-b586-95b7ca01396b@gmx.de> <bdb836e4-e20d-43b3-ae11-d2793494d17b@alum.mit.edu> <79deaa2a-5c9c-4758-96c9-76fad8428843@gmail.com> <D0639C0A-AF25-403B-92ED-8CD9BBFC0068@tzi.org> <0e05e33d-0f42-4543-8237-7e712984cfae@gmail.com>
In-Reply-To: <0e05e33d-0f42-4543-8237-7e712984cfae@gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 18 May 2025 20:42:32 -0700
X-Gm-Features: AX0GCFtv7wMPuWg_FzpYww6Phes2nkJLhylxq91ZTgzibvyw3AuyNp5mMT3Q1nc
Message-ID: <CABcZeBNbp4+Z5xvRt9WU+svTGowFHP-7=UHm7Pa15_Vz6c6igg@mail.gmail.com>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Content-Type: multipart/alternative; boundary="0000000000002ae380063574eeaf"
Message-ID-Hash: AGDJLWQKYMSIDPEVKGEHYHXGZGSAGFX5
X-Message-ID-Hash: AGDJLWQKYMSIDPEVKGEHYHXGZGSAGFX5
X-MailFrom: ekr@rtfm.com
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
CC: rfc-interest@rfc-editor.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [rfc-i] Re: 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/l-qG3Ur3suK5bysaDF3qsGKFR5w>
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 Sat, May 17, 2025 at 3:00 PM Brian E Carpenter < brian.e.carpenter@gmail.com> wrote: > On 18-May-25 09:19, Carsten Bormann wrote: > > On 17. May 2025, at 22:36, Brian E Carpenter < > brian.e.carpenter@gmail.com> wrote: > >> > >> However, RFC 9651 explains > >> exactly why it uses all that English: > >> > >> " Appendix C. ABNF > >> > >> This section uses the Augmented Backus-Naur Form (ABNF) notation > [RFC5234] to illustrate the expected syntax of Structured Fields. However, > it cannot be used to validate their syntax because it does not capture all > requirements.” > > > > I’m not sure that the text there accurately reflects what the authors > wanted to say. > > I’m not aware of any ABNF anywhere that “captures all requirements”, so > this is a pretty weird argument. > > (I already mentioned that “validating” the syntax is only a part of what > needs to be done here, so maybe they meant that — but that doesn’t make the > ABNF any less valuable.) > > I agree with you. It's been pretty clear since BNF was first used > (strictly speaking, it was just BF for Algol 58, but that was well before > my time) that some terminations in BNF *require* explanation in human > language. That doesn't make the formalism useless. > Yes. I'm honestly kind of puzzled by this whole discussion. Formal languages like (A)BNF, ASN.1, TLS PDUs, etc. specify the semantic productions that are compatible with a given protocol (language), but they don't provide the meaning of those productions; that must be supplied in some other fashion. In protocols that's typically in text, whereas in a compiler it's the code associated with the production. It's also the case that some productions which would be permitted by the grammar are actually impermissible because it's too difficult to specify them in the grammar, so the grammar describes a superset of the language. That's not ideal, but also is not a disaster. -Ekr
- [rfc-i] Re: Normative information in RFC imagery Nico Williams
- [rfc-i] Re: Normative information in RFC imagery Alexis Rossi
- [rfc-i] Re: Normative information in RFC imagery Michael Richardson
- [rfc-i] Re: Normative information in RFC imagery Paul Hoffman
- [rfc-i] Normative information in RFC imagery Alexis Rossi
- [rfc-i] Re: Normative information in RFC imagery Paul Duffy (paduffy)
- [rfc-i] Re: Normative information in RFC imagery Brian E Carpenter
- [rfc-i] Re: Normative information in RFC imagery Marc Petit-Huguenin
- [rfc-i] Re: Normative information in RFC imagery Carsten Bormann
- [rfc-i] Re: Normative information in RFC imagery Michael Richardson
- [rfc-i] Re: Normative information in RFC imagery Eliot Lear
- [rfc-i] Re: Normative information in RFC imagery Marc Petit-Huguenin
- [rfc-i] Re: Normative information in RFC imagery Carsten Bormann
- [rfc-i] Re: Normative information in RFC imagery Michael Richardson
- [rfc-i] Re: Normative information in RFC imagery Agent
- [rfc-i] Re: Normative information in RFC imagery Jean Mahoney
- [rfc-i] Normative ABNF [was Re: Re: Normative inf… Marc Petit-Huguenin
- [rfc-i] Description techniques [was Re: Normative… Marc Petit-Huguenin
- [rfc-i] Re: Normative information in RFC imagery Alexis Rossi
- [rfc-i] RFC 9633 SVG is unreadable (was: Normativ… Martin Thomson
- [rfc-i] Re: RFC 9633 SVG is unreadable (was: Norm… StJohns, Michael
- [rfc-i] Re: RFC 9633 SVG is unreadable (was: Norm… Martin Thomson
- [rfc-i] Re: RFC 9633 SVG is unreadable Brian E Carpenter
- [rfc-i] Re: RFC 9633 SVG is unreadable (was: Norm… Carsten Bormann
- [rfc-i] Re: RFC 9633 SVG is unreadable (was: Norm… Martin Thomson
- [rfc-i] Re: RFC 9633 SVG is unreadable James Cloos
- [rfc-i] Re: Normative information in RFC imagery Michael Richardson
- [rfc-i] Re: RFC 9633 SVG is unreadable Jean Mahoney
- [rfc-i] Re: RFC 9633 SVG is unreadable Jean Mahoney
- [rfc-i] Re: RFC 9633 SVG is unreadable (was: Norm… Nico Williams
- [rfc-i] Re: RFC 9633 SVG is unreadable (was: Norm… Carsten Bormann
- [rfc-i] Re: Normative information in RFC imagery Paul Kyzivat
- [rfc-i] Re: Normative information in RFC imagery Nico Williams
- [rfc-i] Re: Normative information in RFC imagery Nico Williams
- [rfc-i] Re: Normative information in RFC imagery Alexis Rossi
- [rfc-i] Re: RFC 9633 SVG is unreadable Brian E Carpenter
- [rfc-i] Re: Normative information in RFC imagery Paul Duffy (paduffy)
- [rfc-i] Re: Normative information in RFC imagery Martin Thomson
- [rfc-i] Re: Normative information in RFC imagery Nico Williams
- [rfc-i] Re: RFC 9633 SVG is unreadable Robert Sparks
- [rfc-i] Re: RFC 9633 SVG is unreadable Nico Williams
- [rfc-i] Re: RFC 9633 SVG is unreadable Brian E Carpenter
- [rfc-i] Re: RFC 9633 SVG is unreadable Martin Thomson
- [rfc-i] Re: checking SVGs (was Re: Re: RFC 9633 S… Martin Thomson
- [rfc-i] Re: RFC 9633 SVG is unreadable StJohns, Michael
- [rfc-i] Re: RFC 9633 SVG is unreadable Brian E Carpenter
- [rfc-i] Re: RFC 9633 SVG is unreadable Carsten Bormann
- [rfc-i] Re: RFC 9633 SVG is unreadable Brian E Carpenter
- [rfc-i] Re: RFC 9633 SVG is unreadable Martin Thomson
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Carsten Bormann
- [rfc-i] Re: Specification vs implementation [was … Nico Williams
- [rfc-i] Re: RFC 9633 SVG is unreadable Michael Richardson
- [rfc-i] Re: RFC 9633 SVG is unreadable Carsten Bormann
- [rfc-i] Specification vs implementation [was Re: … Marc Petit-Huguenin
- [rfc-i] Re: RFC 9633 SVG is unreadable Martin Thomson
- [rfc-i] checking SVGs (was Re: Re: RFC 9633 SVG i… Jean Mahoney
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Marc Petit-Huguenin
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Carsten Bormann
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Paul Kyzivat
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Eric Rescorla
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Carsten Bormann
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Brian E Carpenter
- [rfc-i] Re: Normative information in RFC imagery Nico Williams
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Nico Williams
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Wes Hardaker
- [rfc-i] Re: Description techniques [was Re: Norma… Carsten Bormann
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Marc Petit-Huguenin
- [rfc-i] Re: Description techniques [was Re: Norma… Agent
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Agent
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Carsten Bormann
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Eliot Lear
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Agent
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Salz, Rich
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Wes Hardaker
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Eric Rescorla
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Julian Reschke
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Paul Kyzivat
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Brian E Carpenter
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Brian E Carpenter
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Eliot Lear
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Nico Williams
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Carsten Bormann
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Paul Kyzivat
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Eric Rescorla
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Carsten Bormann
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Paul Kyzivat
- [rfc-i] Re: Normative information in RFC imagery Carsten Bormann
- [rfc-i] Re: Normative information in RFC imagery Carsten Bormann
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Julian Reschke
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Marc Petit-Huguenin
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Paul Kyzivat
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Paul Kyzivat
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Carsten Bormann
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Marc Petit-Huguenin
- [rfc-i] Re: Normative ABNF [was Re: Re: Normative… Eric Rescorla