Additional Control Operators for CDDL
draft-bormann-cbor-cddl-control-00

The information below is for an old version of the document
Document Type Active Internet-Draft (individual)
Last updated 2020-06-15
Stream (None)
Intended RFC status (None)
Formats pdf htmlized (tools) htmlized bibtex
Stream Stream state (No stream defined)
Consensus Boilerplate Unknown
RFC Editor Note (None)
IESG IESG state I-D Exists
Telechat date
Responsible AD (None)
Send notices to (None)
Network Working Group                                         C. Bormann
Internet-Draft                                    Universit├Ąt Bremen TZI
Intended status: Informational                              15 June 2020
Expires: 17 December 2020

                 Additional Control Operators for CDDL
                   draft-bormann-cbor-cddl-control-00

Abstract

   The Concise Data Definition Language (CDDL), standardized in RFC
   8610, provides "control operators" as its main language extension
   point.

   The present document defines a number of control operators that did
   not make it into RFC 8610.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 17 December 2020.

Copyright Notice

   Copyright (c) 2020 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Bormann                 Expires 17 December 2020                [Page 1]
Internet-Draft           CDDL control operators                June 2020

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
     1.1.  Terminology . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Computed Literals . . . . . . . . . . . . . . . . . . . . . .   3
     2.1.  String Concatenation  . . . . . . . . . . . . . . . . . .   3
     2.2.  Numeric Addition  . . . . . . . . . . . . . . . . . . . .   4
   3.  Embedded ABNF . . . . . . . . . . . . . . . . . . . . . . . .   4
   4.  Features  . . . . . . . . . . . . . . . . . . . . . . . . . .   6
   5.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   7
   6.  Implementation Status . . . . . . . . . . . . . . . . . . . .   8
   7.  Security considerations . . . . . . . . . . . . . . . . . . .   8
   8.  References  . . . . . . . . . . . . . . . . . . . . . . . . .   8
     8.1.  Normative References  . . . . . . . . . . . . . . . . . .   8
     8.2.  Informative References  . . . . . . . . . . . . . . . . .   9
   Acknowledgements  . . . . . . . . . . . . . . . . . . . . . . . .   9
   Author's Address  . . . . . . . . . . . . . . . . . . . . . . . .   9

1.  Introduction

   The Concise Data Definition Language (CDDL), standardized in RFC
   8610, provides "control operators" as its main language extension
   point.

   The present document defines a number of control operators that did
   not make it into RFC 8610:

         +----------+-------------------------------------------+
         | Name     | Purpose                                   |
         +==========+===========================================+
         | .cat     | String Concatenation                      |
         +----------+-------------------------------------------+
         | .plus    | Numeric addition                          |
         +----------+-------------------------------------------+
         | .abnf    | ABNF in CDDL (text strings)               |
         +----------+-------------------------------------------+
         | .abnfb   | ABNF in CDDL (byte strings)               |
         +----------+-------------------------------------------+
         | .feature | Detecting feature use in extension points |
         +----------+-------------------------------------------+

             Table 1: New control operators in this document

Bormann                 Expires 17 December 2020                [Page 2]
Internet-Draft           CDDL control operators                June 2020

1.1.  Terminology

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
   "OPTIONAL" in this document are to be interpreted as described in
   BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all
   capitals, as shown here.

   This specification uses terminology from [RFC8610].  In particular,
Show full document text