Generating n statements from context-free grammars

Posted by Dervin Thunk on Stack Overflow See other posts from Stack Overflow or by Dervin Thunk
Published on 2010-05-15T15:22:53Z Indexed on 2010/05/15 15:34 UTC
Read the original article Hit count: 284

Filed under:
|

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

© Stack Overflow or respective owner

Related posts about context-free

Related posts about random