Generating n statements from context-free grammars
- by Dervin Thunk
Hello,
So not to reinvent the wheel, I would like to know what has already been done about generating random statements from a context-free language (like those produced by yacc, etc.). These grammars are primarily for parsing, but maybe someone has done some generation for testing the parsers?
Thanks