Tool to compile the programming language called Shakespeare (or SPL), an exotic language copying the way of writing of William Shakespeare.
Shakespeare (Programming Language) - dCode
Tag(s) : Programming Language
dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!
Shakespeare is a programming language (abbreviated as SPL for Shakespeare Programming Language) whose source code .SPL files resemble plays by William Shakespeare.
A program begins with the designation of the variables (which are necessarily characters from Shakespeare, such as Hamlet, Othello, etc.). Variables are integers described by a common name. If it is rather positive, then the value is +1, and if it is rather negative the value is -1. Any adjective associated with a noun multiplies it by 2.
Example: Juliet, a beautiful woman
The following describes acts and scenes whose names allow you to make gotos.
Example: Act I: Start
The instructions are dialogues/replicas of the characters.
Example: Romeo: You are nothing.
To display the contents of the current pointer, the phrases Open your heart! or Speak your mind! are used.
The program ends with [Exeunt]
Due to its nature as natural language text, there are thousands of positive or negative words and the dictionaries used were not satisfactory. Most programs did not compile.
The most successful implementation currently is in Python: here (link) but is stille very limited (about 30 positive words and 30 negative words are accepted)
The text is in the form of a play, and uses Shakespeare's characters.
Shakespeare Programming Language was proposed by Karl Wiberg and Jon Åslund in 2001.
Reminder : dCode is free to use.
The copy-paste of the page "Shakespeare (Programming Language)" or any of its results, is allowed (even for commercial purposes) as long as you cite dCode!
Exporting results as a .csv or .txt file is free by clicking on the export icon
Cite as source (bibliography):
Shakespeare (Programming Language) on dCode.fr [online website], retrieved on 2023-12-05,