Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary Specification? #6

Open
HuwCampbell opened this issue Feb 14, 2022 · 1 comment
Open

Binary Specification? #6

HuwCampbell opened this issue Feb 14, 2022 · 1 comment

Comments

@HuwCampbell
Copy link

Looking at this library I see a lot of overlap with Avro's aims, but it looks quite a lot stronger in terms of its types and composability. Is there a binary specification at all one could rely on for porting to other languages?

The other thing one might want to think about is an IDL for specifying schemas.

@fumieval
Copy link
Owner

There's no written spec about the format, but the implementation of decodeTerm is kinda self-documenting. Namely, it translates a schema into a decoder of the binary representation.

A human-readable language might indeed be useful if one wants to generate code like protobuf. The Pretty instance for Schema is something like that but there's no parser yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants