[Cbor] Consolidated set of tags for containers

Emile Cormier <emile.cormier.jr@gmail.com> Fri, 19 March 2021 00:28 UTC

Return-Path: <emile.cormier.jr@gmail.com>
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 06B373A0DD8 for <cbor@ietfa.amsl.com>; Thu, 18 Mar 2021 17:28:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham 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 oEivuq7xNHyo for <cbor@ietfa.amsl.com>; Thu, 18 Mar 2021 17:28:05 -0700 (PDT)
Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (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 A57163A103D for <cbor@ietf.org>; Thu, 18 Mar 2021 17:28:05 -0700 (PDT)
Received: by mail-pf1-x42a.google.com with SMTP id y5so4654190pfn.1 for <cbor@ietf.org>; Thu, 18 Mar 2021 17:28:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=cAahWc6e2QXLGBVUGGrYzNltxzTlVhrDFXFSITLVHLw=; b=rrVU4GQHr5gsrcm6dtzRzfsIjEwzO/DWLQL+hvLjKHfoGEWhwAtba9HVEinmSE4dVT ULppc9zaQPXsKWAhTYq43LdyA98HJOHQ1b23ERkJrwaSwfytzMW+7Lpm2A2NTzd6TVq6 c1o2Ve9Skj6hebxTla/UWQVAXUz6QNL/fVfToRaPzEVku5uHt3JbbNLkOt2mSpccGz7T D7ND5pon1Y92KgggSCQlcMgD3+xzdjtDWgWaqDHHS8U1ZtqMtLVpZ2AaxvVGMBAy5qzE T1k0i8rry5r6NkfPpYWS6EDvUKX65dp7HjEQJZY4FYPabULPoYbt9KaqYQvJKf7Nt+KY PFOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=cAahWc6e2QXLGBVUGGrYzNltxzTlVhrDFXFSITLVHLw=; b=DIn/HwCzV2Ck5R94iy28kQObDiduetQuXYtRiOi8CIwLVEYgru5dEsjJHgkEQrQ50J wjtCTb2RtEMrlmEB7HSJFN3PeaxLn0pyY9DsZ5IBgZus1YfPzsb/i16qzcusjYkYzr2M W26ZqxcGvRXmvLgBUGbxwCWZcMeY7rRhq+R0KvJiAkxmiujsoRwL9D+BU7xUzjlkjz2m rr3Q/gP1qn/o5Y3G8/BvkbT8tzFTbOpxmiuoIPNrPFb1+kxwCmquiwsaDGMOexFuK5Yn VNOB6I5D6/9Znp70yv334oM7rZv0YFTtwkW59DiORkEqxLZBrmK1S2rrcp/Ci1Pa1wJS 6AZQ==
X-Gm-Message-State: AOAM531+trslcswA/QOv8KYfRkPNrxR/ARZ6uQiABU8cfpZkqHqPkuZS sY2b23X706TIFPWw9lkiik+CgY9abDTdc0BM3+H0imDXohQ9Eg==
X-Google-Smtp-Source: ABdhPJwD1/G71Je/XAuT4g/JnVGEKCpOIgMLCTNEU0DysWPaBRd3jp/oQFvBIakx/pwYVeN7Rwz7H/RIK0ain8vqEow=
X-Received: by 2002:a63:b12:: with SMTP id 18mr9192421pgl.45.1616113684085; Thu, 18 Mar 2021 17:28:04 -0700 (PDT)
MIME-Version: 1.0
From: Emile Cormier <emile.cormier.jr@gmail.com>
Date: Thu, 18 Mar 2021 21:27:53 -0300
Message-ID: <CAM70yxDJ8fNBPWLtheiWKvvpKUayw0ueuNtAbnd8BsVWV8gKMg@mail.gmail.com>
To: cbor@ietf.org
Content-Type: multipart/alternative; boundary="0000000000000e830c05bdd8caed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cbor/hjm9vkhkk3MPLHhz6quR90PkNFE>
Subject: [Cbor] Consolidated set of tags for containers
X-BeenThere: cbor@ietf.org
X-Mailman-Version: 2.1.29
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: Fri, 19 Mar 2021 00:28:07 -0000

I branched my consolidated map tags proposal to include tags for list-like
containers. This now lives on the "with-lists" branch on my GitHub repo.
With the addition of list-like containers, the proposal now contains tags
for representing containers like lists, sets and bags.

https://github.com/ecorm/cbor-map-like/blob/with-lists/README.md

Summary of changes:

* Added "Category" column for either "Dictionary" or "Collection"

* Added dictionaries with arbitrary keys and uniform values to make
decoding the traits less insane. This increases the total number of tags
from 20 to 24.

* Removed programming languages section in favor of abstract data types
that model each tag. Much less maintenance this way.

I await your comments, critiques, and questions.