[abnf-discuss] constrained-01 - advantage?

Doug Royer <douglasroyer@gmail.com> Sun, 13 November 2016 21:47 UTC

Return-Path: <douglasroyer@gmail.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 2C4361293D6 for <abnf-discuss@ietfa.amsl.com>; Sun, 13 Nov 2016 13:47:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 lwpO7xNGmmZZ for <abnf-discuss@ietfa.amsl.com>; Sun, 13 Nov 2016 13:47:50 -0800 (PST)
Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 40111129458 for <abnf-discuss@ietf.org>; Sun, 13 Nov 2016 13:38:13 -0800 (PST)
Received: by mail-it0-x233.google.com with SMTP id q124so66380166itd.1 for <abnf-discuss@ietf.org>; Sun, 13 Nov 2016 13:38:13 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=to:from:subject:organization:message-id:date:user-agent :mime-version; bh=0uoOLwZtnNxzY7fQFdpOHl+bNfdJ69+3Cc8+GLFP+nQ=; b=y3jIIn46Txj2p+phgrI5aaj3cC6SB/0s08z/ThRlSO+UUQfcuzxQrHIkomk80X3XGU g/Lao5PqPhi3LboRJqCfh1jcJ3lLFvtNmNUHMRcoA70mxkpq/0dQwEF893QlKr2y/eHU TO5EAF15R10v07OFHCLXRBRcl/pzZhJnWg9x7DXicdiME5wH/HAebvJAhtCTjUuay5KD Exr+xIcQMrIu3SU7CjFA7AR3kj04rjVYG7JI6pGvfc78QjjXH5PKoJFNo1I2ZSW6YDmK jjUKpFk5IRY+IfrB9QaSUbznTD2QunCc+TWzBY/jBayWbhIy6569q6uWUMOm2gyT6sIJ Opiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:organization:message-id:date :user-agent:mime-version; bh=0uoOLwZtnNxzY7fQFdpOHl+bNfdJ69+3Cc8+GLFP+nQ=; b=ZRN6qo9p36TTu/t1srFoNeqzboWhiOog4s5N1DSHoTWfML0ZKOQHtFF2fKZ0BSdhtM HdpbNKnOcabrJ1UqwEk432aRnBa8a/RSPtyMSGac94ZJ9/L/FglyiprMvZFRvaoVTJPU 4D7gpHrCqmTCkpJUpHJloIYK5bMlnhnerqIBWf2jtPKtf6cprfUmtW+Z1Kr44oGsZaa4 F+ALQ/L4ZxtzmkwHeEj5QVNihsUufr+/TVMLKXqtSaajXNNMX5AdUYFU7agyJ1+GJU+O 3OiZI/s1h5TPlKnVmubDK8wg2OAF7XwNiJB+mp5qXm17naboG3YoU6OEDqeUev28WMrA v2Uw==
X-Gm-Message-State: ABUngvfkMrIwxAO4ehEmtwyFdEAO6Fj5ga6MCfdR1tMUnkAVL6xkqkcUeDQQsuu9APkSAQ==
X-Received: by 10.202.244.214 with SMTP id s205mr6792006oih.70.1479073092488; Sun, 13 Nov 2016 13:38:12 -0800 (PST)
Received: from [192.168.1.4] ([75.174.45.51]) by smtp.googlemail.com with ESMTPSA id b16sm6323939ote.19.2016.11.13.13.38.11 for <abnf-discuss@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 13 Nov 2016 13:38:12 -0800 (PST)
To: abnf-discuss@ietf.org
From: Doug Royer <douglasroyer@gmail.com>
Organization: http://SoftwareAndServices.NET
Message-ID: <5828DD42.8010009@gmail.com>
Date: Sun, 13 Nov 2016 14:38:10 -0700
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40
MIME-Version: 1.0
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="------------ms090105050507060705050206"
Archived-At: <https://mailarchive.ietf.org/arch/msg/abnf-discuss/AzlG5ajo5s_5gUPVZfAHOSMslyo>
Subject: [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: Sun, 13 Nov 2016 21:47:51 -0000

It has been over 30 years since I have taken any math classes. The 
introduction sections were a bit difficult to follow. I would suggest 
simplification.

   ---------------------------------------------------------

How is:

  resent-field    = "Resent-" field-name ":" unstructured CRLF

  resent-date   ^ resent-field = "Resent-Date:" date-time CRLF

  resent-from   ^ resent-field = "Resent-From:" mailbox-list CRLF

  resent-sender ^ resent-field = "Resent-Sender:" mailbox CRLF

  ...

Simpler or more of an advantage than:

  resent-field  = resent-unstructured / resent-date / resent-from / 
resent-sender / ...

  resent-unstructured = "Resent-" field-name ":" unstructured CRLF

  resent-date         = "Resent-Date:" date-time CRLF

  resent-from         = "Resent-From:" mailbox-list CRLF

  resent-sender       = "Resent-Sender:" mailbox CRLF

  ...


-- 

Doug Royer - (http://DougRoyer.US)
DouglasRoyer@gmail.com
714-989-6135