BNFC backend ignoring token definitions
Open
- Dominant language
- Haskell
- Stars
- 196
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
The BNFC backend is (predictably) ignoring any BNFC token definition since they only get encoded into the Alex source file and QuickFuzz just ends up using the `Arbitrary` instance of `String`.
For instance, given the following BNFC grammar:
Program. Exp ::= CIdent ;
token CIdent (lower (lower | digit | '_')*) ;
Produces the following non-printable gibberish:
�(2
Is it possible to be smarter about this?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.