Skip to content

Introduce initial "ocapn" package #2766

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

Merged
merged 11 commits into from
Apr 17, 2025
Merged

Introduce initial "ocapn" package #2766

merged 11 commits into from
Apr 17, 2025

Conversation

kumavis
Copy link
Member

@kumavis kumavis commented Apr 15, 2025

  • Introduces new ocapn package with initial codecs for OCapN messages and Passable types
  • subsumes syrup package into ocapn as we don't intend to support generic syrup parsing

@kumavis kumavis marked this pull request as ready for review April 16, 2025 00:33
@@ -0,0 +1,523 @@
const sym = s => `${s.length}'${s}`;
const str = s => `${s.length}"${s}`;
const bts = s => `${s.length}:${s}`;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider assert(s.every(b => b <= 0xff))

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is redundant with #2766 (comment) correct?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

determined correct

@kumavis kumavis enabled auto-merge (rebase) April 17, 2025 19:46
@kumavis kumavis merged commit 34742f8 into master Apr 17, 2025
16 checks passed
@kumavis kumavis deleted the kumavis/ocapn branch April 17, 2025 19:57
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

Successfully merging this pull request may close these issues.

2 participants