X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Delivered-To: barryleiba.mailing.lists@gmail.com
Received: by 10.112.12.166 with SMTP id z6csp522699lbb;
        Thu, 27 Dec 2012 15:23:04 -0800 (PST)
X-Received: by 10.66.89.9 with SMTP id bk9mr93068007pab.67.1356650583302;
        Thu, 27 Dec 2012 15:23:03 -0800 (PST)
Return-Path: <abnf-discuss-bounces@ietf.org>
Received: from mail.ietf.org (mail.ietf.org. [2001:1890:126c::1:1e])
        by mx.google.com with ESMTP id a9si30640261paz.229.2012.12.27.15.23.02;
        Thu, 27 Dec 2012 15:23:03 -0800 (PST)
Received-SPF: pass (google.com: domain of abnf-discuss-bounces@ietf.org designates 2001:1890:126c::1:1e as permitted sender) client-ip=2001:1890:126c::1:1e;
Authentication-Results: mx.google.com; spf=pass (google.com: domain of abnf-discuss-bounces@ietf.org designates 2001:1890:126c::1:1e as permitted sender) smtp.mail=abnf-discuss-bounces@ietf.org; dkim=pass (test mode) header.i=@ietf.org
Received: from ietfa.amsl.com (localhost [127.0.0.1])
	by ietfa.amsl.com (Postfix) with ESMTP id E695D21F8D59;
	Thu, 27 Dec 2012 15:23:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1;
	t=1356650581; bh=1lLE1l/yNAAxXELW3vh7n1V07GID7WQZDhPcownyJtE=;
	h=Message-ID:Date:From:MIME-Version:To:Subject:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 Content-Transfer-Encoding:Content-Type:Sender;
	b=Q1EMp7e6JxU3bt8PK3jJpEaJFE4Ae6kMgzExLbZjvZJODNO/6l0YkQ8NHoy8RmDCL
	 4Q/0gxcGH7wEENKGj1Yac8DrDYmTlFnHYvn0CQxCqT2fBwJkWoeyvmHIfy2n1t0aS6
	 BAtXmrsE2Y6Olv3Da9H3BW3mnhbCB/XjRQO2oWVs=
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 2BA1421F8D06
	for <abnf-discuss@ietfa.amsl.com>; Thu, 27 Dec 2012 15:23:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.414
X-Spam-Level: 
X-Spam-Status: No, score=-0.414 tagged_above=-999 required=5 tests=[AWL=0.023, 
	BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_NET=0.611, 
	RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.30])
	by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id XdxMovTUVWnt for <abnf-discuss@ietfa.amsl.com>;
	Thu, 27 Dec 2012 15:23:00 -0800 (PST)
Received: from qmta14.westchester.pa.mail.comcast.net
	(qmta14.westchester.pa.mail.comcast.net
	[IPv6:2001:558:fe14:44:76:96:59:212])
	by ietfa.amsl.com (Postfix) with ESMTP id 869F621F8CD0
	for <abnf-discuss@ietf.org>; Thu, 27 Dec 2012 15:22:59 -0800 (PST)
Received: from omta11.westchester.pa.mail.comcast.net ([76.96.62.36])
	by qmta14.westchester.pa.mail.comcast.net with comcast
	id gnML1k0020mv7h05EnNyVX; Thu, 27 Dec 2012 23:22:58 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164])
	by omta11.westchester.pa.mail.comcast.net with comcast
	id gnNy1k00H3ZTu2S3XnNy9D; Thu, 27 Dec 2012 23:22:58 +0000
Message-ID: <50DCD850.3020106@alum.mit.edu>
Date: Thu, 27 Dec 2012 18:22:56 -0500
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: abnf-discuss@ietf.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
	s=q20121106; t=1356650578;
	bh=mrJrJAUMtwR/r+QMJwaHFxcvki8iKcnvU43QhGZkVKs=;
	h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject:
	Content-Type;
	b=tnAyP9lzv65R83FbMXhprbWWkCAakpWIR3lqJue/6JkTEzLcUD1K8ZUSUGl3gAlOH
	u+43RGWa07w0Akfj3gf5RwwW5GPBGUIYBteeeYZ+vU7WObOz7qiA9EX9cdjMLJzuDR
	FtTEzkaJ/QhMvhual6+gCgYriHUwB+83nm2FgPy/Latxjkq/brH4dpnJkqeM5UJoWi
	NzQORyb/NSCSWQiLpZtBivT+w07OwrIWS8sWPNmS+d30G1Nt07paYXlkorkIcwQKmO
	Rtr4/ecofOEXVoXxV+NYyEWZB5rXYUQGbC8sS7hEPaIZqrHGzVyAk4Nl/s11d/4fDT
	EIMQL+YNmMK5g==
Subject: [abnf-discuss] Some thoughts about how to make ABNF more convenient
	to use
X-BeenThere: abnf-discuss@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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>
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="windows-1252"; Format="flowed"
Sender: abnf-discuss-bounces@ietf.org
Errors-To: abnf-discuss-bounces@ietf.org

[Is this list live? As best I can tell there has only been one message, =

ever.]

I've been observing problems with the mechanics of using ABNF for ietf =

drafts, and contemplating some changes that could make things better. =

But I'd like to get some support and feedback before doing much about it.

I would like to better support current practice where one draft or RFC =

extends the ABNF from another draft or RFC, or references ABNF rules =

defined elsewhere when defining something new.

In my experience this is done using comments that identify the source of =

the referenced definitions. Formally processing this requires manual =

actions to cut and paste definitions from multiple documents in order to =

create a single ABNF source that can be processed for formal tools.

With the enhancements I have in mind, it will be possible to build ABNF =

tools that automatically extract the required definitions.

Also, often RFCs prefer to interleave ABNF rule definitions with =

descriptive text. But that makes it difficult to process. Sometimes =

rules are interleaved, and then also gathered together into a full ABNF, =

but this runs a risk of divergence. I'd also like to help with that.

The enhancements I have in mind are:

Extend ABNF syntax with:
=95 A way to assign a name to a rule list within a document.
   This allows multiple independent groups of rules to be defined
   within a single document and referenced independently.

=95 A way to reference a rule defined in a named collection of rules.

=95 A way to import rule definitions from another document.
   Optionally reference a specific named rule list within that document.

Extend xml2rfc with:
=95 A way to tag sections of the document that contain ABNF, so that
   its easy to extract just the ABNF from the XML document.

With these changes, an ABNF checker/compiler could be given the name of =

a draft or rfc, and could directly process the ABNF within. And that =

draft could reference and extend ABNF in another draft or rfc, and the =

checker/compiler could automatically retrieve that as well.

Do others think this would be useful?

	Thanks,
	Paul
_______________________________________________
abnf-discuss mailing list
abnf-discuss@ietf.org
https://www.ietf.org/mailman/listinfo/abnf-discuss

