Rager

[GPL]
[Creative Commons: Some Rights Reserved]

Rager is yet another random text generator.

It generates text based on context-free grammars (in non-geek-lingo, "it can make pretty complex garbage with very little effort").

Cool examples!

Writing your own grammars

Basically, you need to provide Rager with a grammar that is specified in a form that's pretty much similar to Backus-Naur Form, and also say which term to start from. There are some instructions in the program's zip file.

Rager was largely inspired by rmutt, so you may find the syntax rather familiar.

What is needed to run?

[Lisp]
[ (get 'SBCL)  ]

Originally, Rager was written in Perl, but this particular incarnation is written in Common Lisp.

The guts of Rager are pretty much implementation-independent, as long as you have cl-ppcre and lisp-cgi-utils (which is only required for the web interface).

The command-line thing is written with SBCL in mind. There used to be some CMUCL hackery in it, but I removed them - this is now being developed on SBCL, known to run on SBCL, and it will theoretically still run on CMUCL, even when I couldn't get CMUCL to find the libraries right now =) Command-line-parameter-things are now parsed in bash.

Download source code

Source code for Rager 1.1.1, as released on 2005-09-07. It's under GPL. It's pretty awful, just get used to it. =)

Rager Grammars 1.0 contains some of the examples above, and more. The AutoNAME port is under GPL. The rest of the stuff is under Creative Commons Attribution-ShareAlike license 2.0. Whatever you create using these grammars is pretty much too much of a headache even for your average lawyer, so just do whatever the heck you want with the generated stuff.


[Up] [Main] [Weyfour WWWWolf]

Last modified: $Date: 2005-09-07 20:13:43 +0300 (ke, 07 syys   2005) $