You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It be great if this was allowed for all productions, not just those where the non-terminal has one rule only. Even if BNFC reports an error when code generation is attempted, one might want to use BNFC just to check if the input grammar defines all symbols used and if the syntax is correct before getting into the specifics of giving the rules labels.
The text was updated successfully, but these errors were encountered:
LBNF rules have the following shape:
However, in many cases, non-terminals will only have one production associated to them, and it's common to call that the same as the value category.
Would it be possible to modify the shape of rules in LBNF's grammar to the following?
It be great if this was allowed for all productions, not just those where the non-terminal has one rule only. Even if BNFC reports an error when code generation is attempted, one might want to use BNFC just to check if the input grammar defines all symbols used and if the syntax is correct before getting into the specifics of giving the rules labels.
The text was updated successfully, but these errors were encountered: