Re: [abnf-discuss] constrained-01 - advantage?
"Jonathan Hansford" <jonathan@hansfords.net> Sat, 19 November 2016 08:15 UTC
Return-Path: <jonathan@hansfords.net>
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 E906012950E for <abnf-discuss@ietfa.amsl.com>; Sat, 19 Nov 2016 00:15:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hansfords.net
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 T5vkE6Vt9UP7 for <abnf-discuss@ietfa.amsl.com>; Sat, 19 Nov 2016 00:15:06 -0800 (PST)
Received: from server.myfast.site (server.myfast.site [212.113.130.90]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B01441294B9 for <abnf-discuss@ietf.org>; Sat, 19 Nov 2016 00:15:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hansfords.net; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:In-Reply-To:References:Cc:To:From:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=B5jLRib8KiFrfSj41Yl5Tej7Fjygw4wNaqa5H8rkLgw=; b=j4Tu1L7EicTwKFk1bJwP9yDkG8 40RZUWwOz4+CjrGqAhkBKtZ7ns+54rV/+4i9wYVW3wVGM+BaZBegRyPorkVEz9Y8zNrxKnzbze2AH XHqLPmJh2y0QsmNZwZl9rq1Y8sk1417t0h/1c1A9+CE3yvhAD+o0YVz4G+SF2MPRP/T3DgTTPINqs kyiuEo6t/6aB87a/HfVHDiKXcUlZUuIjSEDWTjfBfa6hz/KUBrGB6i8z0vfVqXPcIX9m0Ww/1KQLj mdaj0HJn0U9AhbLqGpTE6cR57j4sGB9qnXlEk3BGhCW1SPFASb/ag5pwA2yWyikio6T1MGg8OFfMT rIS4546w==;
Received: from hansfords.plus.com ([84.92.116.209]:36758 helo=Vanguard) by server.myfast.site with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from <jonathan@hansfords.net>) id 1c80ng-003t25-OW; Sat, 19 Nov 2016 08:15:04 +0000
From: Jonathan Hansford <jonathan@hansfords.net>
To: 'Sean Leonard' <dev+ietf@seantek.com>, 'Doug Royer' <douglasroyer@gmail.com>
References: <5828DD42.8010009@gmail.com> <36FC0A35-2ADA-4710-ABFB-08E8B916718E@seantek.com> <58292EE9.2040308@gmail.com> <1A928BF2-22AB-4EA1-9DCD-58B6F646259F@seantek.com> <017b01d23e53$7c13b640$743b22c0$@hansfords.net> <8554FBCB-D327-4398-AAE0-DBD513B1FD1D@seantek.com> <02cb01d241b3$4629ed70$d27dc850$@hansfords.net> <582F3F77.5000501@gmail.com> <A314D216-3A62-430D-8BC7-41E7D5B19E77@seantek.com>
In-Reply-To: <A314D216-3A62-430D-8BC7-41E7D5B19E77@seantek.com>
Date: Sat, 19 Nov 2016 08:15:04 -0000
Message-ID: <003f01d2423d$0932d410$1b987c30$@hansfords.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQHYvXgeDBBsaRJVnswRsJVfT0lLzgLvVSEKARkfOaMB5DOsXgIsbMdZAVGZq/0BRrV0fAMErZ+LAnPl5PSgUaxLAA==
Content-Language: en-gb
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server.myfast.site
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - hansfords.net
X-Get-Message-Sender-Via: server.myfast.site: authenticated_id: jonathan@hansfords.net
X-Authenticated-Sender: server.myfast.site: jonathan@hansfords.net
Archived-At: <https://mailarchive.ietf.org/arch/msg/abnf-discuss/iLQVozHlLzfsmT-FOdk3qc64ULc>
Cc: abnf-discuss@ietf.org
Subject: Re: [abnf-discuss] constrained-01 - advantage?
X-BeenThere: abnf-discuss@ietf.org
X-Mailman-Version: 2.1.17
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: Sat, 19 Nov 2016 08:15:09 -0000
With the work we are doing on naming conventions within managed systems, RFC7405, draft-seantek-abnf-more-core-rules and draft-seantek-constrained-abnf all take ABNF closer to what we need. I would value an RFC that added all their additional features to RFC5234 and an equivalent ABNF parser. Doug, Are you talking about preventing ABNF such as the following: yang-version-arg-str = < a string that matches the rule > < yang-version-arg > Jonathan > -----Original Message----- > From: abnf-discuss [mailto:abnf-discuss-bounces@ietf.org] On Behalf Of > Sean Leonard > Sent: 18 November 2016 19:56 > To: Doug Royer <douglasroyer@gmail.com> > Cc: abnf-discuss@ietf.org > Subject: Re: [abnf-discuss] constrained-01 - advantage? > > Hello Doug: > > Thank you...I think? > > ABNF is already “machine-parsable”. A couple of months ago, I published > (ss)reaex, which is a machine parser (extractor, specifically). Other people > have written full parser-compilers (apg, bap). The fact that a compiler “can” > be written for ABNF has always been there, although perhaps it was not a > design goal of RFC x234. > > I suppose that a goal of draft-seantek-constrained-abnf is to help authors > make ABNF more machine-parsable, but, that is not the only goal. Another > goal is to assist specification writers with making their ABNF clearer for > (human) readers, which means introducing a minimum amount of new > syntax for specification writers to learn. There are other IETFers who do not > feel that machine parsing is a (strong) design goal. To that end, another > design criteria is that ABNF still meets all the criteria of BNF: a context-free > grammar notation. > > There are other enhancements to RFC 5234 that have been proposed, which > do take the language further: > RFC 7405 > draft-seantek-unicode-in-abnf > draft-seantek-abnf-more-core-rules > > Can you describe what you mean by “needing to go much further”? > > Regards, > > Sean > > > On Nov 19, 2016, at 2:50 AM, Doug Royer <douglasroyer@gmail.com> > wrote: > > > > > > I do not have a problem with making ABNF machine parsable. > > > > This draft makes it possible to make ABNF that is still not machine parsable. > Because the old difficult to parse methods are still valid. > > > > In my opinion, if this draft is going to go forward, this draft will need to go > much further, because its going to make a confusing mess of mixed ABNF > usage in future drafts. > > > > And much further, its going to be more controversial. > > > > -- > > > > Doug Royer - (http://DougRoyer.US) > > DouglasRoyer@gmail.com > > 714-989-6135 > > > > _______________________________________________ > > abnf-discuss mailing list > > abnf-discuss@ietf.org > > https://www.ietf.org/mailman/listinfo/abnf-discuss > > _______________________________________________ > abnf-discuss mailing list > abnf-discuss@ietf.org > https://www.ietf.org/mailman/listinfo/abnf-discuss
- [abnf-discuss] constrained-01 - advantage? Doug Royer
- Re: [abnf-discuss] constrained-01 - advantage? Sean Leonard
- Re: [abnf-discuss] constrained-01 - advantage? Doug Royer
- Re: [abnf-discuss] constrained-01 - advantage? Julian Reschke
- Re: [abnf-discuss] constrained-01 - advantage? Sean Leonard
- Re: [abnf-discuss] constrained-01 - advantage? Sean Leonard
- Re: [abnf-discuss] constrained-01 - advantage? Julian Reschke
- Re: [abnf-discuss] constrained-01 - advantage? Jonathan Hansford
- Re: [abnf-discuss] constrained-01 - advantage? Paul Kyzivat
- Re: [abnf-discuss] constrained-01 - advantage? Sean Leonard
- Re: [abnf-discuss] constrained-01 - advantage? Sean Leonard
- Re: [abnf-discuss] constrained-01 - advantage? Jonathan Hansford
- Re: [abnf-discuss] constrained-01 - advantage? Doug Royer
- Re: [abnf-discuss] constrained-01 - advantage? Sean Leonard
- Re: [abnf-discuss] constrained-01 - advantage? Jonathan Hansford