We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
BNFC creates an invalid parser if one makes a list of internal non-terminals.
EVar. Exp ::= Ident ; internal VInteger. Val ::= Integer ; internal VExp. Val ::= Exp "{" [Eq] "}" ; internal VEq. Eq ::= Ident ":=" Val ; separator Eq "," ;
I didn't find any version of BNFC that would alert of the problem or silently do the right thing (make [Eq] internal as well).
[Eq]
Update: coercions of purely internal categories also end up in the parser, but do not cause errors there (just garbage).
coercions
The text was updated successfully, but these errors were encountered:
Maybe we should support internal { ... } blocks which can also contain list pragmas and rules etc.
internal { ... }
rules
Sorry, something went wrong.
andreasabel
No branches or pull requests
BNFC creates an invalid parser if one makes a list of internal non-terminals.
I didn't find any version of BNFC that would alert of the problem or silently do the right thing (make
[Eq]
internal as well).Update:
coercions
of purely internal categories also end up in the parser, but do not cause errors there (just garbage).The text was updated successfully, but these errors were encountered: