Attempt at a stack of data formats to make everyone happy Lassi Kortela (19 Sep 2019 17:28 UTC)
Sketching the format stack Lassi Kortela (19 Sep 2019 18:07 UTC)
Re: Attempt at a stack of data formats to make everyone happy Arthur A. Gleckler (20 Sep 2019 22:19 UTC)
Re: Attempt at a stack of data formats to make everyone happy Alaric Snell-Pym (24 Sep 2019 09:02 UTC)
Core S-expression and binary formats John Cowan (24 Sep 2019 14:49 UTC)
Re: Core S-expression and binary formats John Cowan (25 Sep 2019 02:14 UTC)
Sharpsign syntax for hashtables, sets, bytevectors, etc. Lassi Kortela (25 Sep 2019 08:26 UTC)
Bytevector literals Lassi Kortela (25 Sep 2019 08:38 UTC)
Re: Sharpsign syntax for hashtables, sets, bytevectors, etc. Alaric Snell-Pym (25 Sep 2019 09:33 UTC)
Re: Sharpsign syntax for hashtables, sets, bytevectors, etc. Lassi Kortela (25 Sep 2019 09:53 UTC)
Re: Sharpsign syntax for hashtables, sets, bytevectors, etc. Alaric Snell-Pym (25 Sep 2019 10:32 UTC)
String literals inside bytevector literals Lassi Kortela (25 Sep 2019 10:46 UTC)
A S-expression syntax that can carry all this stuff Lassi Kortela (19 Sep 2019 20:01 UTC)

Sketching the format stack Lassi Kortela 19 Sep 2019 18:07 UTC

Here's a very rough and very tentative sketch of such a stack of three
formats, everything subject to change:

Simple data types: Mostly portable S-expressions or JSON
Simple text syntax: Mostlt portable S-expressions or JSON
Simple binary encoding: Mostly just varints and type tags?

Intermediate data types:
List/vector/set/ordered-set/map/bytevector/bitvector + complex numbers
Intermediate text syntax: Classic S-expressions with a few extensions
Intermediate binary encoding: Simple one + skippable sub-encodings + DNS
names?

Complex data types: Everything in John's spreadsheet, and more
Complex text syntax: S-expressions + every trick in the book
Complex binary encoding: ASN.1?

Couldn't resist drafting one already :)