gll-combinators
gll-combinators copied to clipboard
Provide a Utility API for Generative Grammars
It should be possible to use an arbitrary Parser
and generate a Stream[String]
of valid inputs (weakly sorted by string length). Obviously, this stream will be infinite for any non-trivial grammar. This API would be useful for fuzzing grammars to check for general things like ambiguity.