Re: [hackathon] Formal Languages at the Hackathon

"Timothy B. Terriberry" <tterriberry@mozilla.com> Wed, 06 November 2019 20:46 UTC

Return-Path: <tterriberry@mozilla.com>
X-Original-To: hackathon@ietfa.amsl.com
Delivered-To: hackathon@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF1B41200FE for <hackathon@ietfa.amsl.com>; Wed, 6 Nov 2019 12:46:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mozilla.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 9KynyYN3xNw1 for <hackathon@ietfa.amsl.com>; Wed, 6 Nov 2019 12:46:49 -0800 (PST)
Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (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 32041120072 for <hackathon@ietf.org>; Wed, 6 Nov 2019 12:46:49 -0800 (PST)
Received: by mail-pf1-x42c.google.com with SMTP id q26so19802303pfn.11 for <hackathon@ietf.org>; Wed, 06 Nov 2019 12:46:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mozilla.com; s=google; h=from:reply-to:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=9vgebxJlvxDk0ASj7X2uMTXf8DhqIV2kmCh7y3DRJig=; b=bTU2+r+pgeWkRz+PKaUh6ZRWY7arYyXHhzcnG4tJMKxHyP2C70uB7MvOsY25Dsme3r mVUCePDWJgSIAhPb0yO48JxpSkoKuDhIQW0vEj/9jX3ssXFVAh1afDbuNTXTMycpM3rJ kfHWwLcp5jdIv0TRJbBd5NRYj5mS5FSPtG1Lo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:subject:to:cc:references :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding; bh=9vgebxJlvxDk0ASj7X2uMTXf8DhqIV2kmCh7y3DRJig=; b=cTFAOAWKIM1a4wyfRIAGmPU2/Rm4vQLgV7JinV5LQfXYxE+rKH7i48FJ95W+JskU+w WMOKzLv+tjuhPWbEethsUPZUqbvvU9aeiMbVlipODS2scW7aoTXwiPzTAfl4q8ljWHpp bjGnZFucYVsm7rypCXOjT1Eeq5h6ivajwwgE5CLvwXwC1y/Zt3h9c+K8+pQ7BvceK+Ky NvNovkar+9wGEUgBle6Xl+j/n/3AGcvfjRfUL5MDVvacLSlXnH0jjbE+plaQ3oo7ngxX lWaZLkwr0/qVUVVib34OtiFIJwAwMWppNWD4wTnruwsR32Q8ytwm3Hy43EbGbYOxc5kJ En/g==
X-Gm-Message-State: APjAAAX3e8qOxDt2c9EKbJlXwNmtV80jYYg8mWHPui5FM5mlomNXGWU7 tv+LOvmAb0Z9ZMUIwr7MN9+URpNwCiU=
X-Google-Smtp-Source: APXvYqw9njj9VxnzEj3teu3BykrHhD+qPPo9E99hqaTGto1sXDRns3pbn2xJCcFApY6fylP+boHTaQ==
X-Received: by 2002:a62:ab17:: with SMTP id p23mr5781863pff.116.1573073208651; Wed, 06 Nov 2019 12:46:48 -0800 (PST)
Received: from [10.56.68.114] ([116.84.110.4]) by smtp.gmail.com with ESMTPSA id x125sm29117400pfb.93.2019.11.06.12.46.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Nov 2019 12:46:47 -0800 (PST)
From: "Timothy B. Terriberry" <tterriberry@mozilla.com>
X-Google-Original-From: "Timothy B. Terriberry" <tterribe@xiph.org>
Reply-To: tterribe@xiph.org
To: Stephen McQuistin <sm@smcquistin.uk>, hackathon@ietf.org
Cc: Marc Petit-Huguenin <marc@petit-huguenin.org>, Colin Perkins <csp@csperkins.org>
References: <4BD0608C-A277-4130-B85C-D7A75FAEFD8F@smcquistin.uk>
Message-ID: <6198bb5d-6add-f93a-76cc-92f35f192fc4@xiph.org>
Date: Wed, 06 Nov 2019 12:46:45 -0800
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.7.0
MIME-Version: 1.0
In-Reply-To: <4BD0608C-A277-4130-B85C-D7A75FAEFD8F@smcquistin.uk>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/hackathon/3cmKAOvNdGpcTwdOHa_ERd8FhLY>
Subject: Re: [hackathon] Formal Languages at the Hackathon
X-BeenThere: hackathon@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion regarding past, present, and future IETF hackathons." <hackathon.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/hackathon>, <mailto:hackathon-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/hackathon/>
List-Post: <mailto:hackathon@ietf.org>
List-Help: <mailto:hackathon-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hackathon>, <mailto:hackathon-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 06 Nov 2019 20:46:52 -0000

Stephen McQuistin wrote:
> Please join us: we are particularly interested in examples of packet 
> header diagrams that might be challenging to write
> in the format our draft describes, and in how our tooling might fit into 
> existing workflows.

I haven't reviewed the full draft, but one thing that stands out is the 
limitation, "A packet can contain only one unspecified length field, to 
ensure there is no ambiguity" in Section 4.1.

As a counter-example, I offer "code 1 packets" from RFC 6716 Section 
3.2.3: https://tools.ietf.org/html/rfc6716#section-3.2.3

These packets have two fields where the length is determined by the 
total size of the packet, under the restriction that they must be equal.

I didn't see a lot of detail on _how_ "the size of a field is ... 
derived from the value of some previous field", and if there are any 
restrictions on this derivation, but in general for Opus this can be 
somewhat involved, so I am certainly curious about structured text that 
allows for the parsing process to be fully specified.