Re: [Cbor] I-D Action: draft-ietf-cbor-edn-literals-04.txt

Carsten Bormann <cabo@tzi.org> Sun, 01 October 2023 21:16 UTC

Return-Path: <cabo@tzi.org>
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 DAF0EC14CE3F for <cbor@ietfa.amsl.com>; Sun, 1 Oct 2023 14:16:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.894
X-Spam-Level:
X-Spam-Status: No, score=-1.894 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
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 lfA4Wd2WEH9X for <cbor@ietfa.amsl.com>; Sun, 1 Oct 2023 14:16:02 -0700 (PDT)
Received: from smtp.zfn.uni-bremen.de (smtp.zfn.uni-bremen.de [IPv6:2001:638:708:32::21]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 33D4DC151078 for <cbor@ietf.org>; Sun, 1 Oct 2023 14:15:58 -0700 (PDT)
Received: from eduroam-pool10-335.wlan.uni-bremen.de (eduroam-pool10-335.wlan.uni-bremen.de [134.102.91.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4RzH1j5hJqzDCf9; Sun, 1 Oct 2023 23:15:53 +0200 (CEST)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <169619413732.58965.6067683795707050294@ietfa.amsl.com>
Date: Sun, 01 Oct 2023 23:15:53 +0200
X-Mao-Original-Outgoing-Id: 717887753.1220191-79b20199764bbe9c8d9d307aeeff9a56
Content-Transfer-Encoding: quoted-printable
Message-Id: <548D131E-4AA0-4A7A-9E63-760AFB134F64@tzi.org>
References: <169619413732.58965.6067683795707050294@ietfa.amsl.com>
To: cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/ppSSiCGgRsY1JjoQk97ISaoSAzc>
Subject: Re: [Cbor] I-D Action: draft-ietf-cbor-edn-literals-04.txt
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Concise Binary Object Representation \(CBOR\)" <cbor.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cbor>, <mailto:cbor-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cbor/>
List-Post: <mailto:cbor@ietf.org>
List-Help: <mailto:cbor-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cbor>, <mailto:cbor-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Oct 2023 21:16:10 -0000

This revision adds hexfloats, as well as (by **strong** popular demand) end-of-line comments (with # as the delimiter).

The edn-abnf gem is in sync, so if you want to play:

  gem update edn-abnf
  printf "[1, # one\n 0x0.8p2 /two/]" | edn-abnf -tdiag -

See https://github.com/cbor-wg/edn-literal/commits/main
… for the detailed list of changes, or use the diff link below.

See https://github.com/cbor-wg/edn-literal/issues
… for what needs to be done.

We should discuss those remaining issues at the Wednesday interim.

Grüße, Carsten


> On 2023-10-01, at 23:02, internet-drafts@ietf.org wrote:
> 
> Internet-Draft draft-ietf-cbor-edn-literals-04.txt is now available. It is a
> work item of the Concise Binary Object Representation Maintenance and
> Extensions (CBOR) WG of the IETF.
> 
>   Title:   CBOR Extended Diagnostic Notation (EDN): Application-Oriented Literals and ABNF
>   Author:  Carsten Bormann
>   Name:    draft-ietf-cbor-edn-literals-04.txt
>   Pages:   18
>   Dates:   2023-10-01
> 
> Abstract:
> 
>   The Concise Binary Object Representation, CBOR (RFC 8949), defines a
>   "diagnostic notation" in order to be able to converse about CBOR data
>   items without having to resort to binary data.
> 
>   This document specifies how to add application-oriented extensions to
>   the diagnostic notation.  It then defines two such extensions for
>   text representations of epoch-based date/times and of Constrained
>   Resource Identifiers (draft-ietf-core-href).
> 
>   To facilitate tool interoperation, this document also specifies a
>   formal ABNF definition for extended diagnostic notation (EDN) that
>   accommodates application-oriented literals.
> 
> The IETF datatracker status page for this Internet-Draft is:
> https://datatracker.ietf.org/doc/draft-ietf-cbor-edn-literals/
> 
> There is also an HTML version available at:
> https://www.ietf.org/archive/id/draft-ietf-cbor-edn-literals-04.html
> 
> A diff from the previous version is available at:
> https://author-tools.ietf.org/iddiff?url2=draft-ietf-cbor-edn-literals-04