-
Notifications
You must be signed in to change notification settings - Fork 25
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
Redundant X | X
rules are allowed and mismanaged.
#126
Comments
I think a reasonable thing to do might be to use |
I also think it would be reasonable to prohibit identically matching rules in a single |
One problem with prohibiting identically matching rules is that it reduces to grammar equality, which is undecidable for basically anything with the complexity of CFG or higher. |
This is a testcase that demonstrates the problem (in
tests/basic.rs
):The output is the current one and is incorrect: both sides are
"x"
and should match or the situation should be statically denied. But only the first one is observed.The text was updated successfully, but these errors were encountered: