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 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.
dCode retains ownership of the "Shakespeare (Programming Language)" source code. Except explicit open source licence (indicated Creative Commons / free), the "Shakespeare (Programming Language)" algorithm, the applet or snippet (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or the "Shakespeare (Programming Language)" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) and all data download, script, or API access for "Shakespeare (Programming Language)" are not public, same for offline use on PC, mobile, tablet, iPhone or Android app!
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 credit 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 2024-12-21,