Code Poetry: Bits and Verse for the Software set

the-poetry-of-code-460

Talk about creative programming.

Submissions are now being accepted for the Code Poetry Slam 1.1

At the Slam, finalists presented work ranging from human language poems incorporating concepts and gestures from programming, to poems written entirely in compilable code. They were invited to present their poems in whatever way they saw fit, and performed with various techniques, including poems composed and compiled in an IDE, multimedia audio/visual presentations, and straight readings from a notebook.

The slam, sponsored  Department of Literatures, Cultures, and Languages at Stanford University, looks for “code that is beautiful to read and simultaneously executable.”

This was the winning  poem from the inaugural Code Poetry Slam 1.0 held last fall:

Say 23  by  Leslie Wu

#!/usr/bin/env ruby
require ‘rubygems’ # gratitude
require ‘nokogiri’ # arigato
h=Nokogiri::HTML
(`curl http://www.biblegateway.com/passage/?search=Psalm+23&version=KJV&interface=print`)
.css(“.text”).text.split(/\W/)
%w(Zarvox Princess Cellos).each{|v|`say -v #{v}
#{[9,7,9,123,9,42,55,118,104,108,6,7,100,10,95,96,86,76,120,72,106,107,63,32,42]

Website