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

Fix optimizations regarding character classes and grammar mutation #47

Merged
merged 5 commits into from
Mar 29, 2024

Conversation

goodmami
Copy link
Owner

Optimizations were in some cases mutating the original grammar object instead of creating a new one. This, along with some incomplete implementation in the merger of character classes, resulted in some bugs.

This PR also allows "strict" parsing for the machine parsers.

@goodmami goodmami merged commit 350e89d into main Mar 29, 2024
6 checks passed
@goodmami goodmami deleted the gh-44-optimize-char-class branch April 3, 2024 17:27
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.

None yet

1 participant