Shakespeare Programming Language
≈ 2 min read
Names in other languages
No names in other languages are held for this entry yet.
Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.
The Shakespeare Programming Language (SPL) is an esoteric programming language designed by Jon Åslund and Karl Wiberg. Like the Chef language, it is designed to make programs appear to be something other than programs – in this case, Shakespearean plays. A character list in the start of the program declares some 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 input/output (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 Shakespeare Programming Language (SPL) is an esoteric programming language designed by Jon Åslund and Karl Wiberg. Like the Chef language, it is designed to make programs appear to be something other than programs – in this case, Shakespearean plays. A character list in the start of the program declares some 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 input/output (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.
References
Inline references
General references
Shakespeare Programming Language on Slashdot The A-Z of Programming Languages: Shakespeare on Computerworld SPL Interpreter written in Python (GitHub repository) Shakespeare to C Compiler written in Python on GitHub shakespearelang.org Online interpreter and debugger
Text derived from https://en.wikipedia.org/w/index.php?oldid=1370617442 under CC BY-SA 4.0; modifications have been made.