Shakespeare Programming Language is an esoteric programming language created with the design goal to make the source code resemble Shakespeare plays.
Shakespeare Programming Language is an esoteric programming language created with the design goal to make the source code resemble Shakespeare plays.
Overview
The characters in the play are variables. If you want to assign a character, let's say Hamlet, a negative value, you put him and another character on the stage and let that character insult Hamlet.
Input and output is done be having someone tell a character to listen their heart and speak their mind. The language contains conditionals, where characters ask each other questions, and jumps, where they decide to go to a specific act or scene. Characters are also stacks that can be pushed and popped.
The official documentation of the language is available on the official SPL SourceForge webpage.
Hello world!
The code can be viewed here: example of a hello world program in the SPL.
Credits
This article is based on Wikipedia and the official SourceForge of the language.