Re: [Json] [Cbor] JSON and int64s - any change in current best practice since I-JSON

Jeremy O'Donoghue <jodonogh@qti.qualcomm.com> Sat, 27 January 2024 16:07 UTC

Return-Path: <jodonogh@qti.qualcomm.com>
X-Original-To: json@ietfa.amsl.com
Delivered-To: json@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16FD8C14F68C; Sat, 27 Jan 2024 08:07:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.005
X-Spam-Level:
X-Spam-Status: No, score=-7.005 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, 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_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 (2048-bit key) header.d=qualcomm.com
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 DH0tUxU5dfZb; Sat, 27 Jan 2024 08:07:01 -0800 (PST)
Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E1719C14F5F6; Sat, 27 Jan 2024 08:07:00 -0800 (PST)
Received: from pps.filterd (m0279869.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.24/8.17.1.24) with ESMTP id 40RFigPq004015; Sat, 27 Jan 2024 16:06:59 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= from:to:cc:subject:date:message-id:references:in-reply-to :content-type:mime-version; s=qcppdkim1; bh=ub7bUC6DiRmRvKUjo3WG vqkmzErjeutClhbAg5IZ12I=; b=SSUNsgNoY/Ks9HZkQ8cT+SObaBdvjTMqmWYK tRsxXl9R9gJo36Gz1xTrkgRcXecI6w1ET4f4FNXA6tccQXdiZU5Lp2FV2+qlCyRY JGnaP1AIdO0suqnfAoxF+ATDFLk263cLBxBqM2Nuyx++MbiDu19KR4jLBWsEgglA Meyjlw1yBqLP73RKlLuXD4EF0+kjobDlSHSF4ztF3MgzKO4dELwfFVUkVqmZavgz 7YbGsQCiBexS3O2F8ZzQ2czlJ/Uj46ZkCzofINBa8KUKhKInjuGhxIvtaPawpVOJ HqMhZ2dDQRkRz3wD85ynNhLw435DoWNf6Dx9czgg9Sayif+eeQ==
Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2168.outbound.protection.outlook.com [104.47.57.168]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3vvrub8s5w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 27 Jan 2024 16:06:59 +0000 (GMT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h8BKAwZ16YTqaObFsZOHrGUHurbq1hlLS3NT/Rh0Kk32mpaONbV+Whwk5Qm+uDaSICwMHawptiPOoocOU9rerS4lEDn6Kl/YTY3xL/npC8WE4UXrdflYRakFdjhlnwyBGGmtTep1WuGkNiQUd18Hd0SJoHLXEtHaAVCL2QDVrRb3X7uPOtfoWQseO8audxA9DkZZDfGvajsvugbXzm79/UoIn3HQSq4BB8yrNXccIJqUqhgwevrx3dvbSUHyT9gFMRTNquEIoXuBvaT63SOz+XDav6wSD/kBxX8xAa7WsnT8yejRYCsgTnKA2yoU83RxZ4Ndgluwik2Iaho7kvQLfg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ub7bUC6DiRmRvKUjo3WGvqkmzErjeutClhbAg5IZ12I=; b=T1m30/BK7De1u3Lsw362Mp0nDLV72GaQBS6eNfyomfYs1Kx53+S3uyy25GQI/BIrL6S3AQD8GutR07iHclmA3Ok+keAVKSdEQMsnm0CbZNGPD/f5mJ9kIJCh6zbJdRxxqxii1A8wcE2E6WZBMEg6GK3aycT3xkg4HGZzu996CE6Fc4wsVdZR/+h04I/YQvphxbPtXvfQgPefGDkRG1gMj+GLxAOBTnvbTcb6r+vfmgayU7I9/JCSi+TSCDnnWjov9E6lsM94mi8zu5UOSYQYn6CubylBVkQfMYjFCilDkBKYu1aZD5FIP9o0JtS4fjXvzj3jC28pItm/Jnz+FqffuA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=qti.qualcomm.com; dmarc=pass action=none header.from=qti.qualcomm.com; dkim=pass header.d=qti.qualcomm.com; arc=none
Received: from PH0PR02MB7256.namprd02.prod.outlook.com (2603:10b6:510:1a::23) by SJ0PR02MB8733.namprd02.prod.outlook.com (2603:10b6:a03:3da::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7228.31; Sat, 27 Jan 2024 16:06:55 +0000
Received: from PH0PR02MB7256.namprd02.prod.outlook.com ([fe80::2c0a:883c:ec4e:ad39]) by PH0PR02MB7256.namprd02.prod.outlook.com ([fe80::2c0a:883c:ec4e:ad39%7]) with mapi id 15.20.7228.027; Sat, 27 Jan 2024 16:06:55 +0000
From: Jeremy O'Donoghue <jodonogh@qti.qualcomm.com>
To: Carsten Bormann <cabo@tzi.org>, Joe Hildebrand <hildjj@cursive.net>
CC: "json@ietf.org" <json@ietf.org>, "cbor@ietf.org" <cbor@ietf.org>, Tim Bray <tbray@textuality.com>
Thread-Topic: [Cbor] [Json] JSON and int64s - any change in current best practice since I-JSON
Thread-Index: AQHaShYzRILMnFHwxUCyL/DIvr5mBbDgYWgAgAYnDwCABB7uAIAACJQAgAMYYwCAABfmzw==
Date: Sat, 27 Jan 2024 16:06:55 +0000
Message-ID: <PH0PR02MB72562E37EEB0AC197AB28283F2782@PH0PR02MB7256.namprd02.prod.outlook.com>
References: <87527a42-aaac-4f39-b320-05f18a2808c1@codalogic.com> <C31BF4C8-9E6C-48F8-BF7B-D2C379273B3F@tzi.org> <CAHBU6it4SaLawSiBgK9ySkbxjtHE6CX-P3r=hzcVy4ksoQo-Cg@mail.gmail.com> <CAChr6SxHfLW-A1asAndKJz-AiyJv5QP18bi=_bNdKXw7zYHThw@mail.gmail.com> <CAChr6SweYdCWxSABZ7g20Zd-xBFzcK0Ritq53S7WtjSwc-vLmw@mail.gmail.com> <E5A68370-CC2F-4618-AB39-39A382656616@cursive.net> <807fea1b-a22b-4d6b-aa5d-720c9b12023c@codalogic.com> <09233A73-3A6B-4E6F-AEB8-596AC6442E24@cursive.net> <869950DC-647B-4481-AEF8-9E092384E99F@tzi.org> <CBD32B58-8328-4602-89C6-BC2A7A875A0D@cursive.net> <994E2C0A-4AE0-4720-8C67-913BBF033E11@tzi.org> <0BB09B30-B606-44CC-85DC-95A47E485316@cursive.net> <B22EDB2D-0AD1-4582-9191-EFB40E163F19@tzi.org> <F6EB02CA-C240-4FA1-92A8-C5BB883929C7@cursive.net> <29BD1557-59A1-4578-901B-C626ABBE9A78@tzi.org> <B25E10D2-17CF-4B3D-B04B-BABE3A209B90@cursive.net> <6A73993B-B54D-480D-AF79-081EE9D2E1C8@cursive.net> <94BD8ECC-0D50-4C09-9B29-7552AFC4D9ED@tzi.org> <0C97FF67-A3D4-44EC-BD17-AC1F7A2BA9A2@cursive.net> <80D3667A-BC74-4197-BBBC-2B7B9D478D34@tzi.org>
In-Reply-To: <80D3667A-BC74-4197-BBBC-2B7B9D478D34@tzi.org>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR02MB7256:EE_|SJ0PR02MB8733:EE_
x-ms-office365-filtering-correlation-id: 762e7fff-12f6-4575-93b8-08dc1f51fb99
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: Nxu6W5Iu49qRHuQpQ/4E/Xi4JnM7TE+OmHy/Sn9SwasHWaEAw0UJvaqXvO/99colnswtEdPw4NcRwfmus334NUOOc+MwNj+VsiUX4EXlvC1m60+BH1zj/By5N2DuYFn2WS0C9SJGBxe3MzIUFoVW2TCeIGaPvmXSjS/kGWt6Xrp4YRDRoqm81jMULEr/wibxsParVQDf376tNg0R7PtQW/AeuXLV0UvoDDGaIFCvcUh/2z/QqBllwliLepVm70zaqCrLX6mJyXZ++y6A8LaMn0eJ52ttyVfvhoTqaf2ro7FERTs0i53Ovs7Kqhq8mJIuEPDwuofDclgmWFRQFtAyK6VGsO1WzNnde+1LOlWjFFM5wyj2yUrmfFj52hdt9x+sO5fzdXC0Tj+c8bF23YVOqkUyBsP2crhMcrR1u/oQ5aiphstkLo0u0HfA3kxfdbLQGNcaNTGt61G5CiS9+AtxrbMKVooxbi/NV4S5y42ATrQZIKsQlPAaXsHjgFqW74ZP3/LcuRztLVkSAW55N9m8TFK61QNyHxNMXw37ZGk5ynLrd1NNeScXiCLADTzrXLRLcxT9Nd2pi4xYVxH808gliUAM1NrbuYf6uSoT23LXyyjyO1cfDfj5On3pyizIa77fTkARhGfYh7myybMYH0gEhg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR02MB7256.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(346002)(366004)(376002)(396003)(39860400002)(230173577357003)(230922051799003)(230273577357003)(1800799012)(64100799003)(186009)(451199024)(52536014)(8936002)(8676002)(4326008)(33656002)(2906002)(5660300002)(86362001)(110136005)(91956017)(76116006)(66946007)(66556008)(66476007)(66446008)(64756008)(54906003)(316002)(38070700009)(966005)(38100700002)(166002)(122000001)(53546011)(7696005)(6506007)(9686003)(478600001)(45080400002)(71200400001)(83380400001)(26005)(41300700001)(55016003); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: uVCWWVLiNLZ879glNDFDhHcNXOHHhuJOOSRXztHubDfoF2bFUTROci9nMfxZMIYXOc0MjE0Q3AkB9fgHnXp8JC2gcMvl+oKxjJwE47268KHRmKB5hZ5XfF++YTbAnyO3CM3f5+I7D31/KqYIpDuckld0D9pYVM25mqJQvkl5P9/ynvB646TN2qY556tbbjbl0zLfe0wbKmIqmHZoeya3G447IC8Jx4Y/+fu/Empl63pdSSoe+SeDstwZCo50rIU6sarDi4s2iRUrV5NOzNipNpVe9h3q5vQLU889o54WAfgo3yMGGUHHnM9XE6Kbtjz8Uo8mJ8bIhyhkus7XpzNEU+h5u35/zFzPaRoG+ZLKx9v9VioVOiRUny6Vp4HIbjXDFIYD3axVMixLhVOdafsxwkyG3jsga+SMd5CY4yH0cz2toDkZks9/22RdkH01SXkZ5XRho50bf0D9ABpHUhCm+kwNqcauJ0eRsL+328M32TOEvsLptetcJZpEtmPkMRz/ZzcEvaCvRBWL2H33xF4j7PxTvsbeLmhiWH9uMrtZAEUB7fVKVCj6PZ7IaG7/IKx/fQLkBHLr/6w1LGcLtCB89iKK3lmBN4rYyrrl2WdQwqOa5w0yHBEPiNvrYo3Md9tI+JHf2gG3lahJotCfvTRWGA8nhIx3exnDQrTxCvSaHiD2dL8ZCi6r2jYBWNelbmg96kCUyKtcNMqchEaUxWjn/MRwDILz5uQOfUAA5FgP5ACXX4m2l+ANGoOw2SPI3fGY78McvjOjUCfjXjYNvMy8natMlPSlG2OHUiC0adDhXgHHxyEBVJiuggLS5Npb1Wub4SfjBlJakY1/84oFnS2PHklaJWmbKyMwlreYfbEr2gqkLqBbz8MIwBO7mP/G24qB8fHI1fvDRyugy+42G0YqHoLyEQVUUIo4PuxIYOE3D3hUI7COlmE3G5dB6uKApUaW1Pv2Khzojk2Yy2BiVuanMmhlw9V3jUM1jnISRnvcXnTG9OIC5ZEevU9sgFED7B8v/z8Pv5USWa3G/N8nC7xxDbSlJ42k6T2nJbfq04LV58CBTj2zrW6DGgZH2qge1Y++I8dJ5yBCprCb/P99zWvNdg6R47npaLVSW8lTCnC4Q+ykGhJrreRJyngBvi1caK54DgtKahREJLt72UBNiK5+TJSoQNu8cA99oZv68QP0LwAxfd4BtHevcrUxaYebJTyc9NVS8yhjdwanBP4xWcdMGuplUpY2D8h8SjE+d5PVXi4nBd7tPIG25E2invIM0hm2qs5Wib7RYMKf8l8e0BupscaMaJJeMKokiUjbCCWTlimuoKOe7rbv0TVjisztP05M5VyUC++Pv++4rMZe3LRYB6a7dBGr92nhUydvM61fgKxfOLg5oqTtGpyBn2uGg3k8ftBhtOs55damA5lRNl/CPbweiIk14SsfGbhGlIlORzzCsTASkXj3qvSZlFy0OP2IB/UddeU3UZDk35KZz7dS7tqshGEsH+mAxAt6/IQFGW91krxboKus9lM40dvt/H/iJdq6lYfepANCkCux1DbV9YEx/mSkLz5P7KKv6DzthxucACE9D0r8gVIXxEFlbC7Lq4N8SoKUYpI9eWVm1ZTK1v+B/SeyU0yTcVPoHAsNYfQ=
Content-Type: multipart/alternative; boundary="_000_PH0PR02MB72562E37EEB0AC197AB28283F2782PH0PR02MB7256namp_"
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: JsF27uSnbcQ2kHFEaUZJUCMGTxW83IB8mvRO8RXrdGEPY1qhZzsA7JhJ9R+Ld3212wCbNGYyJ9bj2UoGuv/XGTtMJRCS65p6UBFtD8RwyCNKVEj3qiXghHVcZIbTBeDpIHNqTOFBLjfBw24kLYqzz11qXnw9+yUAIo1u/B1RgB6E64iSPaY102/lGXgmrRRXCxT1IMk/+VpaGZQKMtgI37KZf8TteMmyiGVXS77TIoM2HLjKHxo5mMNdSfzPqei5nbB0fDTnKPPhvp9NUd50tyaXsSAX9M/YVwTMWWX5mjMsFn+l6jnJ/YKPa3jQEcfUV/UIQvHF+cFBqFjN6UIochij1Y7HuvnsNJOjvnVpzh+FBLPURtOnn7WFxydgt/lGCQhDx0mfJYnB5US85ZqwErVb7fX/7jHBHSdpU5wy6Ex2XltG7ClyGi2b4gpR9iSZNvQKXgZ/JcFg53+D9W4k4FFjtbQauR0sdHDEMN+4hLgPDY67427xA55CRtZkmZjn0T2dU+0+JvEOPz9ikJ54/ejW9FMc/zfujXj3K1qdwTqb49a12a9sIfRYQaLqHIzFx7tU3KZbU+TmzilZQjLOFJZRb6Iy59xtGiMpCTGVCoRVnCvPTzwr1Flzgu3pMKSk
X-OriginatorOrg: qti.qualcomm.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR02MB7256.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 762e7fff-12f6-4575-93b8-08dc1f51fb99
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jan 2024 16:06:55.3493 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 98e9ba89-e1a1-4e38-9007-8bdabc25de1d
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: JCwtVTxnKjNEoBZGzmo5J/zFXs7+KFYVdG2xvImgbbZxXn5t3NpJvP+A0KpEgmM9ZEwfVy75OG7PVsr1Rr7BQHPBWC8dNNDGJoCZkK/OzDw=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR02MB8733
X-Proofpoint-ORIG-GUID: LJKYpWnsLbRx79W-j7bYAx6FQWBv1YNC
X-Proofpoint-GUID: LJKYpWnsLbRx79W-j7bYAx6FQWBv1YNC
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-25_14,2024-01-25_01,2023-05-22_02
X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 mlxscore=0 malwarescore=0 priorityscore=1501 adultscore=0 suspectscore=0 impostorscore=0 phishscore=0 clxscore=1011 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2401190000 definitions=main-2401270121
Archived-At: <https://mailarchive.ietf.org/arch/msg/json/1Jr84gKF-RApn4CJpYVJEvYRbrA>
Subject: Re: [Json] [Cbor] JSON and int64s - any change in current best practice since I-JSON
X-BeenThere: json@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "JavaScript Object Notation \(JSON\) WG mailing list" <json.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/json>, <mailto:json-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/json/>
List-Post: <mailto:json@ietf.org>
List-Help: <mailto:json-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/json>, <mailto:json-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jan 2024 16:07:05 -0000

The “technically correct” solution is to follow the standard, but that’s not especially pragmatic.

I think you should probably not allow zero-elision as it sounds like this would be supported by all implementation languages natively.

Requiring a full number-parsing stack for every implementation is a recipe for bugs compared to using built-in language support.

As a minimum there needs to be guidance about the use of in-built language numeric parsers and formatting in the text.

Jeremy

Sent from Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: CBOR <cbor-bounces@ietf.org> on behalf of Carsten Bormann <cabo@tzi.org>
Sent: Saturday, January 27, 2024 2:36:52 PM
To: Joe Hildebrand <hildjj@cursive.net>
Cc: json@ietf.org <json@ietf.org>; cbor@ietf.org <cbor@ietf.org>; Tim Bray <tbray@textuality.com>
Subject: Re: [Cbor] [Json] JSON and int64s - any change in current best practice since I-JSON

WARNING: This email originated from outside of Qualcomm. Please be wary of any links or attachments, and do not enable macros.

On 2024-01-25, at 16:20, Joe Hildebrand <hildjj@cursive.net> wrote:
>
>> * leading/trailing decimal points.  What is the semantics that need to be defined here?
>
> For leading, probably none.  For trailing, it might be a sign that the number should be treated as floating point, so that there is a difference between `1` and `1.` in environments where there are different types for float and int.  At the very list, the range checking should be different.

Right.
It seems programming languages like Python, JavaScript, Java, C, C++, and FORTRAN allow leaving off all-leading- or all-trailing-zeros in the mantissa (but not both), clearly still treating the number as a floating point value.
This is also part of IEEE 754 5.12.2 “External character sequences” syntax (Section 5.12), and was already in ECMA-63 NR2/NR3 (which became ISO 6093 later).

However, this is not universally supported; a few quick examples (not thoroughly checked, please correct where wrong):
* C# allows eliding all leading zeroes, but not all trailing zeros,
* Rust allows eliding all trailing zeroes, but not all leading zeros,
* Ruby allows neither.

Supporting full FORTRAN syntax here therefore is a bit against my personal style, but I gather I might be in the rough with this against massive historical precedent.

PR in [0], [1], with formatted version at [2], [3].

[0]: https://github.com/cbor-wg/edn-literal/pull/29
[1]: https://github.com/cbor-wg/edn-literal/pull/29/files
[2]: https://cbor-wg.github.io/edn-literal/elide-zero-mantissa-parts/draft-ietf-cbor-edn-literals.html#name-overall-abnf-definition-for
[3]: https://cbor-wg.github.io/edn-literal/elide-zero-mantissa-parts/draft-ietf-cbor-edn-literals.html#appendix-A.1-7.1.1

You can play with this using edn-abnf 0.1.5 (gem update edn-abnf):

edn-abnf -tedn -e +2.
edn-abnf -tedn -e +.2
edn-abnf -tedn -e +.
edn-abnf -tedn -e +2.e2
edn-abnf -tedn -e +.2e2
edn-abnf -tedn -e +.e2

Oh, and while fiddling with this, I found a bug:
The -07 EDN syntax allowed 0x1.3p (zero length exponent), which really needs to be 0x1.3p0.
Fixed in [4] (and included in edn-abnf 0.1.4 and the above formatted text version).

[4]: https://github.com/cbor-wg/edn-literal/commit/6096deb

Grüße, Carsten

_______________________________________________
CBOR mailing list
CBOR@ietf.org
https://www.ietf.org/mailman/listinfo/cbor