Shamelessly stolen from the latest issue of Dr. Dobb's Journal.
Q: How many Prolog programmers does it take to screw in a lightbulb?
A: no
The output from a friends Prolog story generator has been living in my quote file for years. Its the last line that always cracks me up.
fred took his dagger and slit bill`s throat.
He felt very bad about himself afterwards.
fred sneaked out in the darkest shadows of the
night. He went to where twibble kept the crown and
stole away with it.
fred took the crown, and had the bishop crown him in full
view of the people. fred was king at last.
Everybody lived happily ever after or was dead,and didnt care.
yes