Re: [abnf-discuss] ABNF/RFC7405/ Update: EBNF syntactic exception

John Levine <johnl@taugh.com> Fri, 08 July 2022 17:04 UTC

Return-Path: <johnl@iecc.com>
X-Original-To: abnf-discuss@ietfa.amsl.com
Delivered-To: abnf-discuss@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 56EBCC15949B for <abnf-discuss@ietfa.amsl.com>; Fri, 8 Jul 2022 10:04:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.856
X-Spam-Level:
X-Spam-Status: No, score=-1.856 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b=BHMiKu/J; dkim=pass (2048-bit key) header.d=taugh.com header.b=ZfiIHvsv
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IS4EjklgE70l for <abnf-discuss@ietfa.amsl.com>; Fri, 8 Jul 2022 10:04:26 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9726AC157B56 for <abnf-discuss@ietf.org>; Fri, 8 Jul 2022 10:04:26 -0700 (PDT)
Received: (qmail 46781 invoked from network); 8 Jul 2022 17:04:23 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=b6ba.62c86397.k2207; bh=Dr9WC23PouRsyucIcpSmGwff/q1W5pDntwplz/Fu5OM=; b=BHMiKu/JzgY+pnoeNMAUlkxiy38vu/8tJG9p81KXv7zO//KzbWfTVrh9rBdFhzIq5qfTNwWSHhLp0dsGMTkKS3bBq6claSYFCV1dbzbRzFEzNVxwnhwNNMdK5eEzR0XYYmdoLWXFDjtByHp8k72hws2PCM3ajxEVckBDMmufnlRVlcZvCgAf2jfRJioEBEFYdQYhbEyRYcv7q43DBNYe05bDikOxE8GU/nNtsErBqP21NOEFYWqi/MQkGYx03cE42vOWPzYL00bVz4CplJHsvUt4iaW6mKr+eb4+p3Lr42J/h9vZ+HA28cnNNNHyjN/PjXpIOYpcbHbZGFJZeMrgzg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=b6ba.62c86397.k2207; bh=Dr9WC23PouRsyucIcpSmGwff/q1W5pDntwplz/Fu5OM=; b=ZfiIHvsvrhX91W36pnzwtsmTznxuxBjc5c8NfwZ10vxeOqlamRY7btFW7tc2sgJq9LPSoPMBMOn1HoiHfm5klvqagSekFBm1AdqBlKNTOm0muK7/VofjTANPGLnAUdYS8zPprn61jOwt+8hI9JjsB3uxlaDpVRSO9al2v6VXxI19Eqr0Iq4pA00pZsDgfCWKAmfBoJkfqcWBUN4qUAiaX9BTSiPU9O6p+BnRY2eXToTTCLhk8f1+LTpB+HyACuezT5akxaVSO6c9UPdHOQzPXBM4rdkWPayVgY5C29g6bFTpG/7QPZu7X944V4SWdlrBArIQMMt0tGVMq5to7woOFg==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.3 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 08 Jul 2022 17:04:23 -0000
Received: by ary.qy (Postfix, from userid 501) id 84E464522CA7; Fri, 8 Jul 2022 13:04:22 -0400 (EDT)
Date: Fri, 08 Jul 2022 13:04:22 -0400
Message-Id: <20220708170422.84E464522CA7@ary.qy>
From: John Levine <johnl@taugh.com>
To: abnf-discuss@ietf.org
Cc: dot@dotat.at
In-Reply-To: <30ee45c5-b3ed-4971-a167-4ea9a2e5ea95@dotat.at>
Organization: Taughannock Networks
X-Headerized: yes
Cleverness: minimal
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/abnf-discuss/Ne7pCOvCkEUciM_XTt3_y76SQPU>
Subject: Re: [abnf-discuss] ABNF/RFC7405/ Update: EBNF syntactic exception
X-BeenThere: abnf-discuss@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "General discussion about tools, activities and capabilities involving the ABNF meta-language" <abnf-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/abnf-discuss>, <mailto:abnf-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/abnf-discuss/>
List-Post: <mailto:abnf-discuss@ietf.org>
List-Help: <mailto:abnf-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/abnf-discuss>, <mailto:abnf-discuss-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jul 2022 17:04:31 -0000

It appears that Tony Finch  <dot@dotat.at> said:
>ABNF at the moment describes context-free grammars, which means there are
>lots of options for turning an ABNF grammar into a parser. But CFGs are
>not closed under complement or intersection, so if you add an unrestricted
>negation operator, you are changing the class of languages that the
>grammar can represent.

This is a deal-breaker.  While I agree that a negation operator could be nice,
it's not nice enough to break all of the ABNF tools we have.

Previous extensions like case sensitivity needed only a tweak to the code
of ABNF verifiers, but this would need a complete rewrite.

R's,
John