[Ltru] Re: ABNFs in draft-ietf-ltru-matching-05

Frank Ellermann <nobody@xyzzy.claranet.de> Thu, 13 October 2005 16:13 UTC

Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1EQ5hq-0004Gv-He; Thu, 13 Oct 2005 12:13:22 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1EQ5ho-0004Gn-DL for ltru@megatron.ietf.org; Thu, 13 Oct 2005 12:13:20 -0400
Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA26426 for <ltru@lists.ietf.org>; Thu, 13 Oct 2005 12:13:15 -0400 (EDT)
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1EQ5az-0002DJ-0L for ltru@lists.ietf.org; Thu, 13 Oct 2005 18:06:17 +0200
Received: from c-180-160-222.hh.dial.de.ignite.net ([62.180.160.222]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ltru@lists.ietf.org>; Thu, 13 Oct 2005 18:06:16 +0200
Received: from nobody by c-180-160-222.hh.dial.de.ignite.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ltru@lists.ietf.org>; Thu, 13 Oct 2005 18:06:16 +0200
X-Injected-Via-Gmane: http://gmane.org/
To: ltru@ietf.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Thu, 13 Oct 2005 17:56:59 +0200
Organization: <URL:http://purl.net/xyzzy>
Lines: 46
Message-ID: <434E83CB.2564@xyzzy.claranet.de>
References: <62152.83.248.26.202.1129216311.squirrel@webmail.chalmers.se>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: c-180-160-222.hh.dial.de.ignite.net
X-Mailer: Mozilla 3.0 (OS/2; U)
Content-Transfer-Encoding: 7bit
Subject: [Ltru] Re: ABNFs in draft-ietf-ltru-matching-05
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
Sender: ltru-bounces@ietf.org
Errors-To: ltru-bounces@ietf.org

Kent Karlsson wrote:

> alphanum      = (ALPHA / DIGIT)       ; letters and numbers
 
> Now that spaces are so important, I'm not sure how important
> the parentheses are... 

It's equivalent, the parentheses are unnecessary in this case.
4234 "strongly advises" to use parentheses  for something like
x = a b / c

It's not obvious that this is the same as x = ( a  b ) / c.

But for y = d / e or for z = f g parentheses are unnecessary.

> So please use non-terminal names that aren't used in
> -registry, unless the ABNF for them is exactly the same
> (in which case we can just refer to figure 1 of -registry
> for those).

I'd think that readers would appreciate it if used -registry
stuff is copied verbatim.  References are "cleaner" (impossible
to introduce subtle differences), but a reader interested in
47 KB -matching might be unwilling to read 134 KB -registry in
parallel only to understand the -matching ABNF...

> But it would suffice to say:
> +++++++++++++++++++++alternative++++++++++++++++++++++
> variant-pattern
>               = variant
>               / "*"                    ; ... or wildcard
> ++++++++++++++++++++++++++++++++++++++++++++++++++
> relying on 'variant' in figure 1 of -registry.

...okay, if we adopt that idea (dito for some other terms),
then a reader simply must get <variant> etc. from -registry.
Maybe "range" is a better name resulting in...

       script-range  = "*" / script
       region-range  = "*" / region
       variant-range = "*" / variant

...we discussed this already, but I forgot what the result was.

                              Bye, Frank



_______________________________________________
Ltru mailing list
Ltru@ietf.org
https://www1.ietf.org/mailman/listinfo/ltru