For an example, see The Highwayman by Alfred Noyes, interpreted as a code poem in java by Jimmy Foulds, or Not Many by Scribe, interpreted by Dave Nichols. There's another one at rastasoft.org.
There are no rules on the nature or content of the entries - each code poem may follow an existing poem (or part of a poem) as loosely or as closely as the entrant desires, or alternatively may be a completely original work.
Winners will be chosen by the judges from the Waikato CS Department, based on creativity, humour and artistic merit.
Bonus marks will be awarded if the code actually compiles and does something interesting or useful! This is not required, however.
Remember that the code itself for each entry will be interpreted as a poem, rather than as a program.
If the poem is also a working piece of code, please specify this. You can choose part of a complete program as the code snippet to be judged - in this case, all other code in the entry will not be considered except for the purposes of compiling and running your entry.
The University of Waikato may ask for your permission to use your entry for promotional purposes, but will not do this without your express consent.
NZ Lyrics: As above, but the submissions must represent a New Zealand song.
Poem: Based on an existing poem, or part of a poem.
Original code poem: This can be based on an original poem (in which case the original poem should be included), or written from scratch.