FYI for others looking for same.

Ter did a quick take on this.
http://www.antlr.org/wiki/display/ANTLR3/Random+phrase+generation+using+an+ANTLR+grammar

which will lead you to the RandomPhrase.java in the distribution with the
following note.

NOTE: this does not work well for large grammars...it tends to recurse too
much and build really long strings.

I am writing my own from scratch in C# and the trick seems to be adding
constraints/heuristics to avoid the recurse.

List: http://www.antlr.org/mailman/listinfo/antlr-interest
Unsubscribe: 
http://www.antlr.org/mailman/options/antlr-interest/your-email-address

-- 
You received this message because you are subscribed to the Google Groups 
"il-antlr-interest" group.
To post to this group, send email to il-antlr-inter...@googlegroups.com.
To unsubscribe from this group, send email to 
il-antlr-interest+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/il-antlr-interest?hl=en.

Reply via email to