pre-srfi / binary-records

Defining record types with a well-defined bytevector serialization
0 stars 0 forks source link

Prior art #1

Open lassik opened 4 years ago

lassik commented 4 years ago

Scheme:

TaylanUB/scheme-bytestructures

binary-struct (Gauche)

blob-record (Chicken)

weinholt/struct-pack -- packs and unpacks, but does not define new types

lassik commented 4 years ago

Common Lisp:

https://common-lisp.net/project/cffi/manual/html_node/Foreign-Structure-Types.html

https://quickref.common-lisp.net/packet.html

https://quickref.common-lisp.net/pack.html https://github.com/soemraws/pack

lassik commented 4 years ago

Clojure:

https://github.com/smee/binary -- does something neat with ordered maps

johnwcowan commented 4 years ago

StructuresCowan

There is no implementation yet. This is similar to other pack/unpack procedures, but uses an S-expression schema rather than a string schema.

lassik commented 4 years ago

Most of the string schema procedures are copied from the one in Python's standard library.

lassik commented 4 years ago

We should merge this and StructuresCowan.

lassik commented 4 years ago

Maybe copy it here in place of README.md and start editing?