An implementation of Richard Dawkins' weasel program. The idea is to use a simple genetic algorithm to evolve an arbitrary phrase. The default is "METHINKS IT IS LIKE A WEASEL," from Hamlet.
I wrote this backstage during a theater performance. I forgot a line but my code came out okay.
The code was written for clisp. It was my first ever lisp program so I did not bother making it into a standalone executable. Load the code in clisp and type
(evolve "ARBITRARY STRING OF UPPERCASE AND SPACES")or
(evolve weasel)to trigger the default.
The code is licensed under the WTFPL. Do whatever the fuck you want with it.