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

Expose OndemandBinaryParser #135

Closed
wants to merge 1 commit into from
Closed

Expose OndemandBinaryParser #135

wants to merge 1 commit into from

Conversation

nickbabcock
Copy link
Contributor

Having the ondemand binary parser exposed to a "dumb" melter was nice to be able to detect issues.

It's also nice for performance so one doesn't need to materialize all tokens if only a few are needed.

However, I'm not happy with the API. I want someone to be able to drive the parser with zero overhead but also have type safety (ie: instead of matching on constants, match on something like an enum with a catchall field). This might not be possible. num_enum seems nice but would come with additional overhead.

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.

1 participant