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

Adds support for reading binary tagless types. #889

Merged
merged 2 commits into from
Jun 28, 2024

Conversation

tgregg
Copy link
Contributor

@tgregg tgregg commented Jun 26, 2024

Description of changes:
See the tagless encodings section in the binary Ion 1.1 spec.

This PR implements support for tagless types at the raw / core level. It is assumed that a higher-level reader (i.e., one capable of interpreting macro invocations) knows which tagless type to expect next and positions the core reader accordingly. Macro evaluation will be added in a future PR.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@tgregg tgregg requested a review from popematt June 26, 2024 00:29
@tgregg tgregg force-pushed the read-macro-invocation-headers branch from 81ef1da to 34d6211 Compare June 28, 2024 19:38
Base automatically changed from read-macro-invocation-headers to ion-11-encoding June 28, 2024 19:39
@tgregg tgregg force-pushed the cursor-read-tagless-reorder branch from bce90be to a6a6a37 Compare June 28, 2024 19:45
@tgregg tgregg merged commit 4f64e6f into ion-11-encoding Jun 28, 2024
16 of 17 checks passed
@tgregg tgregg deleted the cursor-read-tagless-reorder branch June 28, 2024 19:51
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