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 much more verbose.
The Scottish play and the Bard's play are euphemisms for William Shakespeare's Macbeth. The first is a reference to the play's Scottish setting, the second a reference to Shakespeare’s popular nickname. According to a theatrical superstition, called the Scottish curse, speaking the name Macbeth inside a theatre, other than as called for in the script while rehearsing or performing, will cause disaster. A variation of the superstition also forbids quoting lines from the play within a theatre except as part of an actual rehearsal or performance of the play.
Because of this superstition, the lead character is often referred to as the Scottish King or Scottish Lord. Lady Macbeth is often referred to as the Scottish Lady. Sometimes Mackers or MacB is used to avoid saying the name.
- "The Scottish Play" | 2022-03-31 | 59 Upvotes 20 Comments