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

Joe Hildebrand <hildjj@cursive.net> Sun, 18 August 2024 20:39 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 B77AEC14F61D for <cbor@ietfa.amsl.com>; Sun, 18 Aug 2024 13:39:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 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_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, 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 UbnxKlBGFd4R for <cbor@ietfa.amsl.com>; Sun, 18 Aug 2024 13:39:19 -0700 (PDT)
Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 C6302C14F5F3 for <cbor@ietf.org>; Sun, 18 Aug 2024 13:39:19 -0700 (PDT)
Received: by mail-io1-xd31.google.com with SMTP id ca18e2360f4ac-81fbbd4775bso163249239f.3 for <cbor@ietf.org>; Sun, 18 Aug 2024 13:39:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google; t=1724013558; x=1724618358; darn=ietf.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=AqeStL1k0Ht1suy+oMbpFPcbECHTAxm3j4abn/2IZyA=; b=dZU6L48Jj1pA+3g33GM0cZVPleK8xUYA7bfhI3/9KaUPm8WjBurpSUperbKjdmZmQa zWOk0HHg9/sLWmzd0mtSM0Gp56a0ybIgNIGD1lYe3+tLq+zrI2pTmnNaGZcSMvS3FOR4 Yd/QMGoB1Iw6s2HnBXGRlijBGtpohBrOpqMxs=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724013558; x=1724618358; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AqeStL1k0Ht1suy+oMbpFPcbECHTAxm3j4abn/2IZyA=; b=JzqdaYCtQeDyLSFcVR0EZJIMKilNg+DzuPI1pSoy8etyFcGEs6TN9yZzuw3qi7kcsm XPWuWwRorMASw+pnE5XARIAkv2kFzHCXzWvKDLziLXbr9Sf2aYxoI+ssJKnUqhKoXoVZ 7ykzfjTTBNpyDgWrjPL/cS2X8H3+vFkOP/8q9gYJ4LKlHgKnVoREt0SeZtvWAglxkipN rZoCVu6W5BNyg9rfIu1i9DMxAs8z6dI9Nh17DyLQDJPQRgmNC/yaPoHcpn2IB9C0Gf5r LGnSsvkBZGurNG8xTYbtjYv+i7kJV7KXEZgm7aEw8Ka/xWQnzf5RyJFJMEKCuL9AeRZt zMAQ==
X-Gm-Message-State: AOJu0YwkX/tHIXHsfIVD8EpGlnA2ITa4Lv7MJjzTK0JOS710jEXtc+di lIzxZbKua0Ja7G86GeWCHvcs2pag60qTo4xWtrVkiinxi6BGHMeNBYVkzzHq4mTxiH6/9GaBb+s =
X-Google-Smtp-Source: AGHT+IEJE88vU1JxIPM4Z/pdjs/16Fe4nFjHmL3ohA31SoafADgS3HMWiwhDUXAjp7NsZx9KMWwYNg==
X-Received: by 2002:a05:6e02:1fec:b0:39b:936:83b3 with SMTP id e9e14a558f8ab-39d26cf83d3mr97304175ab.9.1724013558402; Sun, 18 Aug 2024 13:39:18 -0700 (PDT)
Received: from smtpclient.apple ([2601:282:2181:450f:1477:dd43:7a49:86b8]) by smtp.gmail.com with ESMTPSA id e9e14a558f8ab-39d1ed5dc7bsm28725855ab.55.2024.08.18.13.39.18 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 18 Aug 2024 13:39:18 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\))
From: Joe Hildebrand <hildjj@cursive.net>
In-Reply-To: <36C40BCE-9F6C-4FE9-A62F-F5F178B6FA06@tzi.org>
Date: Sun, 18 Aug 2024 14:39:07 -0600
Content-Transfer-Encoding: quoted-printable
Message-Id: <2A3E9754-96D9-449E-A00D-C44EAAFBB173@cursive.net>
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> <F6C49C06-92B7-4B93-B24A-B3BDD58521E1@cursive.net> <36C40BCE-9F6C-4FE9-A62F-F5F178B6FA06@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3776.700.51)
Message-ID-Hash: 5UKNLPE76M5IYHYMHMCF5ZAK6W5YLBVP
X-Message-ID-Hash: 5UKNLPE76M5IYHYMHMCF5ZAK6W5YLBVP
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
CC: CBOR <cbor@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Cbor] Re: 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/du-AwhIYffmkAys5L8i8kz5bb1w>
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>

Then we need another CPA like 999 to capture this use case.

I don't think this is going to come up in practice, so it seems like a waste of effort, but there MUST be a defined binary output associated with every valid input.

— 
Joe Hildebrand

> On Aug 18, 2024, at 2:36 PM, Carsten Bormann <cabo@tzi.org> wrote:
> 
> On 18. Aug 2024, at 22:18, Joe Hildebrand <hildjj@cursive.net> wrote:
>> 
>> New issue.  Why does the simple rule have this?
>> 
>>   %s"simple(" S item S ")"
> 
> One example use would be:
> 
> simple(e’number-to-be-assigned’)
> 
> Grüße, Carsten
>