Shakespeare (programming Language)

Shakespeare (programming Language)

The Shakespeare Programming Language (SPL) is an esoteric programming language designed by Jon Åslund and Karl 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 in the beginning of the program declares a number of stacks, naturally with names like "Romeo" and "Juliet". These characters enter into dialogue with each other in which they manipulate each other's topmost values, push and pop each other, and do I/O. The characters can also ask each other questions which behave as conditional statements. On the whole, the programming model is very similar to assembly language, but more than an order of magnitude more verbose.

Read more about Shakespeare (programming Language):  Example Code

Famous quotes containing the word shakespeare:

    Dangerous conceits are in their natures poisons,
    Which at the first are scarce found to distaste,
    But with a little act upon the blood
    Burn like the mines of sulphur.
    —William Shakespeare (1564–1616)