[Cbor] draft-ietf-cbor-edn-literals-10 simple rule

Joe Hildebrand <hildjj@cursive.net> Sun, 18 August 2024 20:18 UTC

Return-Path: <hildjj@cursive.net>
X-Original-To: cbor@ietfa.amsl.com
Delivered-To: cbor@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED135C14F70A for <cbor@ietfa.amsl.com>; Sun, 18 Aug 2024 13:18:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cursive.net
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4XdIyszbBYy8 for <cbor@ietfa.amsl.com>; Sun, 18 Aug 2024 13:18:25 -0700 (PDT)
Received: from mail-io1-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 09594C14F69C for <cbor@ietf.org>; Sun, 18 Aug 2024 13:18:24 -0700 (PDT)
Received: by mail-io1-xd34.google.com with SMTP id ca18e2360f4ac-81f905eb19cso198635739f.3 for <cbor@ietf.org>; Sun, 18 Aug 2024 13:18:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google; t=1724012304; x=1724617104; darn=ietf.org; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:from:to:cc:subject:date:message-id :reply-to; bh=Koca9NBPRig9GoGy9M3ct2WgivOH196jF0tG+XmPSb4=; b=CndgoGA6xC7BeM54YwGizDCCt3pIudJohcQ4olKVnnAnlG5+s369J086Wv4RKFfphq VApwIsA4m6US2pNKPT2XP1xjoatagU4uEB45yXABveLOtOQL/8uzYk2Su389+R7PeYZ4 bpTjO+wEqbZdPSK+lbF7sdpBBn0mVde2hs+3M=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724012304; x=1724617104; h=message-id:in-reply-to:to:references:date:subject:mime-version :content-transfer-encoding:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Koca9NBPRig9GoGy9M3ct2WgivOH196jF0tG+XmPSb4=; b=a0RWJoeNEPgH7tPIgI7x2Z0v9MIkt63SnwPql+4wtNBtnDPvSG23O1w9+DO8yNHg0V qi0359m4IqZ+bJdhJqUkXIFxRWl9arhWKW/+LjKnAhXyqN1+Qel5AHZCxkfc7oN79mXo 92QdFDL5FwuiPGjjrkdRmd13n2euUQke3rf/SbhUzY0WcEWSv3E2pepRWROx2mK7hI6B oryXUVBr6/vZffCL/EaUFHMCixYgE8+vtI/nvJbszFx/bnbmu2Vec/80PwKhClT99Njr 2KYCzKW2zlK15H6um6+XolQHLpA9/hif68RmV39XekeeZM+NgKBgz3hX9NgUkb0cBswP lSaQ==
X-Gm-Message-State: AOJu0YwEhs3B3v+yfKqnyIxYKv3ceVtxEYm3zHvopb1g+GrPKz+I2VRT 0okfUqQ+v9ITLPtdjP7aT8TGAJAfXUBWsLqWEorVYNlNZ81cEo+igVnPU+NQINQIJj5NsI20HD0 =
X-Google-Smtp-Source: AGHT+IFKPzUKeZWq2ACdH6ZbXUnnT9/D271tC+ySE9YFeIYwtBzC8dKPdKSWzbrW/DyR6Rn8Ft+Hng==
X-Received: by 2002:a05:6602:148e:b0:803:5e55:ecb3 with SMTP id ca18e2360f4ac-824f2507a4cmr1098727939f.0.1724012303566; Sun, 18 Aug 2024 13:18:23 -0700 (PDT)
Received: from smtpclient.apple ([2601:282:2181:450f:1477:dd43:7a49:86b8]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ccd7096964sm2646491173.173.2024.08.18.13.18.23 for <cbor@ietf.org> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Aug 2024 13:18:23 -0700 (PDT)
From: Joe Hildebrand <hildjj@cursive.net>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\))
Date: Sun, 18 Aug 2024 14:18:12 -0600
References: <FFD7DB6F-2313-4A64-B434-110B1C524D0C@cursive.net> <4DDB6F09-D038-4A13-80F3-A4C13F3EF529@tzi.org> <2E46E3B5-6F88-49D0-AD75-10CF611BBFB5@cursive.net> <B6B33BBA-2844-4FBF-B93E-9BC63A76CD47@tzi.org> <D8B4A36A-ADA7-46F0-98CF-4F1DC2AEFEEE@cursive.net> <B49A7305-28DD-4679-8878-82EF1D44389D@tzi.org> <7DF224F1-F64C-464E-9FA6-1DB9144A4B89@cursive.net>
To: CBOR <cbor@ietf.org>
In-Reply-To: <7DF224F1-F64C-464E-9FA6-1DB9144A4B89@cursive.net>
Message-Id: <F6C49C06-92B7-4B93-B24A-B3BDD58521E1@cursive.net>
X-Mailer: Apple Mail (2.3776.700.51)
Message-ID-Hash: POMRXXJCI52OFPN7KRN56GP5TCE4NTAG
X-Message-ID-Hash: POMRXXJCI52OFPN7KRN56GP5TCE4NTAG
X-MailFrom: hildjj@cursive.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cbor.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Cbor] draft-ietf-cbor-edn-literals-10 simple rule
List-Id: "Concise Binary Object Representation (CBOR)" <cbor.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/byfmeJEHyDL6XPBI7FYozpDmvzA>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Owner: <mailto:cbor-owner@ietf.org>
List-Post: <mailto:cbor@ietf.org>
List-Subscribe: <mailto:cbor-join@ietf.org>
List-Unsubscribe: <mailto:cbor-leave@ietf.org>

New issue.  Why does the simple rule have this?

    %s"simple(" S item S ")"

I would have expected uint or a range 0-255 instead of item.  I suppose you might want non-negative binary, octal or hex integers here, but I don't think it's worth the complexity for something we hope nobody will ever use.

— 
Joe Hildebrand