Mailing the story:
Perl of Wisdom, by Randal L. Schwartz
Back in one of the very first issues of Linux Magazine (September 1999, available online at http://www.linux-mag.com/1999-09/perl_03.html), I wrote about the Spew language. Given a description of text, sentences, and paragraphs, Spew generates random prose based on that description. The grammar is specified using a simple BNF-like format, with extensions to give weighting to more-favored choices.