X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Delivered-To: barryleiba.mailing.lists@gmail.com
Received: by 10.59.3.41 with SMTP id bt9csp136419ved;
        Wed, 2 Jan 2013 08:31:22 -0800 (PST)
X-Received: by 10.68.191.5 with SMTP id gu5mr145228491pbc.145.1357144281441;
        Wed, 02 Jan 2013 08:31:21 -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 o4si45273007paw.141.2013.01.02.08.31.20;
        Wed, 02 Jan 2013 08:31:21 -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 44C5021F868B;
	Wed,  2 Jan 2013 08:31:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1;
	t=1357144280; bh=/sKeN+1blTf0tgXa7Hd8F4GINUkoB7ANVSm30sUGG68=;
	h=Message-ID:Date:From:MIME-Version:To:References:In-Reply-To:Cc:
	 Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:
	 List-Subscribe:Content-Transfer-Encoding:Content-Type:Sender;
	b=f8C2fH2TpIXErC1h2i6eA9uLkKUnmbEcRqP98shkMYc8wJSVUXWEaHZm9KMWwmRMl
	 khzB7HTs/DwEzwoUhUHydrzIJ6pOtKGgCGGcHgE87A4A2aTuFzlBt9apffeuAFXDRu
	 UM77EJx+Yl5F6tIQy/7WRUfvS0VD2hvDelbnKED8=
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 0C84221F8681
	for <abnf-discuss@ietfa.amsl.com>; Wed,  2 Jan 2013 08:31:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5
	tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-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 u9ko6FWObJxr for <abnf-discuss@ietfa.amsl.com>;
	Wed,  2 Jan 2013 08:31:18 -0800 (PST)
Received: from mail-qa0-f42.google.com (mail-qa0-f42.google.com
	[209.85.216.42])
	by ietfa.amsl.com (Postfix) with ESMTP id 2175F21F867B
	for <abnf-discuss@ietf.org>; Wed,  2 Jan 2013 08:31:18 -0800 (PST)
Received: by mail-qa0-f42.google.com with SMTP id hg5so11708349qab.15
	for <abnf-discuss@ietf.org>; Wed, 02 Jan 2013 08:31:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=x-received:message-id:date:from:organization:user-agent
	:mime-version:to:cc:subject:references:in-reply-to:content-type
	:content-transfer-encoding;
	bh=QixPpZg7hTS6Vz/8CHIli8R10fOkK0mvXZMX+wGgkxs=;
	b=kcw5poIgydr+Iemz7ixEu5cdyIBesH+gLjm6Uk0vyJTsjY6NKVt7g034MpOvBVJtC8
	ZLQ+QioCOHaaY8RvmfI0sPcT59UO9jICSSSGEm3lQE9+4nx4IcrzMZLT1RMwHNzr7nql
	GPb4UJqdBHKc4X7b7K8Pov3LCA00sj9DGYCqKSMl+KhEDtj3t/qALkl6wXwOsNLpH7Ob
	wMkhQ1LSN30S35Ece4fnS8oR9xpKTs4WR9aUpXnAXoY8kwhHm9LntFoTU7OHIwzwboUU
	4B40HrpOuZcD7zbBADXg4Zq6BTWr6g0KJk2V1HLQDz7bkyXxs0gMlLlPwdOXYIAqLonq
	vQpQ==
X-Received: by 10.49.127.15 with SMTP id nc15mr28709726qeb.61.1357144277646;
	Wed, 02 Jan 2013 08:31:17 -0800 (PST)
Received: from [192.168.1.66] (76-218-9-215.lightspeed.sntcca.sbcglobal.net.
	[76.218.9.215])
	by mx.google.com with ESMTPS id f5sm11570039qac.5.2013.01.02.08.31.16
	(version=SSLv3 cipher=OTHER); Wed, 02 Jan 2013 08:31:17 -0800 (PST)
Message-ID: <50E460D0.1020308@gmail.com>
Date: Wed, 02 Jan 2013 08:31:12 -0800
From: Dave Crocker <dcrocker@gmail.com>
Organization: Brandenburg InternetWorking
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64;
	rv:17.0) Gecko/17.0 Thunderbird/17.0
MIME-Version: 1.0
To: Tony Finch <dot@dotat.at>
References: <50DCD850.3020106@alum.mit.edu>
	<alpine.LSU.2.00.1301021022570.15409@hermes-1.csi.cam.ac.uk>
	<50E45623.9060607@gmail.com>
	<alpine.LSU.2.00.1301021552190.15409@hermes-1.csi.cam.ac.uk>
	<50E45B21.20509@gmail.com>
	<alpine.LSU.2.00.1301021611070.15409@hermes-1.csi.cam.ac.uk>
In-Reply-To: <alpine.LSU.2.00.1301021611070.15409@hermes-1.csi.cam.ac.uk>
Cc: abnf-discuss@ietf.org, Paul Kyzivat <pkyzivat@alum.mit.edu>
Subject: Re: [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: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: abnf-discuss-bounces@ietf.org
Errors-To: abnf-discuss-bounces@ietf.org



On 1/2/2013 8:24 AM, Tony Finch wrote:
> Dave Crocker <dcrocker@gmail.com> wrote:
>> On 1/2/2013 7:57 AM, Tony Finch wrote:
>>> Dave Crocker <dcrocker@gmail.com> wrote:
>>>>
>>>> It would need to be able to distinguish among potentially
>>>> independent sets of rules, within a spec. We don't currently have a
>>>> way to indicate that.
>>>
>>> Has there ever been any need for it?
>>
>> Well, ummm, RFC822 had several parsers, such as for addresses versus dates
>> versus free-form like Subject.  Applications often need this, I believe.
>
> Hmm, well I would describe those as sub-languages whereas I thought we
> were talking about independent languages. But in both cases they can be
> defined / identified using the transitive closure from the starting rule,
> without revising ABNF.

I don't think so.  The parsing rules for a date field are quite 
different than for an an address field, in 822.  They share some lexical 
constructs, of course, but I don't find that very significant for the 
current topic.


> I can see that rule sets might be useful for importing collections of
> low-level rules, like the ABNF core rules.

The choice, here, is between a formally flat namespace versus one that 
is formally able to be partitioned.  Simplicity is the major benefit of 
the first, of course.  Rigor and the ability to enforce the package 
boundaries that are actually present are the benefits of the latter.


>> What I don't know is whether there will be the community will to pursue it --
>> will we see enough operational benefit?
>
> I think a formal import mechanism would be very useful and could be quite
> easy to deploy. Adding namespaces will be a lot of work.

ack.

Given the effort to make /any/ changes to a package like abnf, I thought 
it worth raising the additional issue, since it seemed to develop pretty 
naturally from the thread.  But again, I don't have any idea whether 
anyone else thinks it's worth pursuing...

d/
-- 
  Dave Crocker
  bbiw.net
_______________________________________________
abnf-discuss mailing list
abnf-discuss@ietf.org
https://www.ietf.org/mailman/listinfo/abnf-discuss

