Write a short, three-line program which:
- has 5/7/5 syllables per line when read aloud
- outputs a haiku when run.
An example of a program having the correct structure, but non-haiku output, is (Python):
>>> for x in range(3): ... print "EXTERMINATE HUMANS" ... # I am a Dalek. ... EXTERMINATE HUMANS EXTERMINATE HUMANS EXTERMINATE HUMANS
(The comment is a bit of a cop-out.)
This reads aloud as:
for x in range three
print EXTERMINATE HUMANS!
I am a Dalek.
Any language is acceptable. For the purposes of reading aloud, symbols like
!@#$%^&*()_+ can be ignored if you want, or pronounced aloud, admitting something like Waka Waka Bang Splat. (I'm sure there will be a Perl entry like
!***(!:, )(*@@@#, )_(*)!.)
Extra points if either the code or the output is especially funny, or especially zen.
Edit: If your language requires boilerplate before it can do anything interesting (
#include <iostream>?) then I'm happy to ignore the boilerplate.
I've accepted Paul Richter's Common Lisp haiku on the grounds that it made me laugh for a good five minutes.
Honorable mention for Timwi's creative rule-bending (compiler output?!) and for the extremely memorable line
"Static void. I long for you."
This question ends;
Many more haikus await.