Jump to content

Shakespeare Programming Language

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 212.219.223.8 (talk) at 16:03, 20 May 2004 (stub article, few links). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

The Shakespeare Programming Language (SPL) is an esoteric programming language designed by Jon Åslund and Kalle Hasselström. Like the Chef programming language, it is designed to make programs appear to be something other than programs: in this case, Shakespearean plays.

A character list declares the program's variables, and these variables (named "Romeo", etc.) enter into dialogue with each other which in fact assigns, manipulates, inputs and outputs their values. The characters ask each other questions which behave as conditional statements.