automerge-classic icon indicating copy to clipboard operation
automerge-classic copied to clipboard

Specification of binary data format

Open ept opened this issue 4 years ago • 2 comments

We need a detailed documentation/specification of Automerge's new binary data format (#253), so that others can implement it if they want to. I am thinking an RFC-style document of prose, structure defintions, and pseudocode. One option would be to use the presentation language from RFC8446.

ept avatar Jan 11 '21 10:01 ept

I think if the goal is for alternative implementations this should probably be broader than just the binary format, other implementations will also need to know how to merge operations no?

alexjg avatar Feb 01 '21 14:02 alexjg

Yes! And it will also need to explain how to convert between the individual changes and the whole-document compression, in both directions.

ept avatar Feb 01 '21 15:02 ept