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

selecting between two JSON grammars #113

Open
mmoskal opened this issue Jan 27, 2025 · 0 comments
Open

selecting between two JSON grammars #113

mmoskal opened this issue Jan 27, 2025 · 0 comments
Assignees

Comments

@mmoskal
Copy link
Collaborator

mmoskal commented Jan 27, 2025

When there are two JSON grammars to select from at given point, the parser will always choose one of them immediately on the first token. Instead, we could delay the decision as if anyOf was used.

See test_two_jsons() in test_ll.rs

@mmoskal mmoskal self-assigned this Jan 27, 2025
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

1 participant