The Infamous Hello World Program.
Romeo, a young man with a remarkable patience.
Juliet, a likewise young woman of remarkable grace.
Ophelia, a remarkable woman much in dispute with Hamlet.
Hamlet, the flatterer of Andersen Insulting A/S.
Act I: Hamlet's insults and flattery.
Scene I: The insulting of Romeo.
[Enter Hamlet and Romeo]
You lying stupid fatherless big smelly half-witted coward!
You are as stupid as the difference between a handsome rich brave
hero and thyself! Speak your mind!
You are as brave as the sum of your fat little stuffed misused dusty
old rotten codpiece and a beautiful fair warm peaceful sunny summer's
day. You are as healthy as the difference between the sum of the
sweetest reddest rose and my father and yourself! Speak your mind!
You are as cowardly as the sum of yourself and the difference
between a big mighty proud kingdom and a horse. Speak your mind.
Speak your mind!
Scene II: The praising of Juliet.
Thou art as sweet as the sum of the sum of Romeo and his horse and his
black cat! Speak thy mind!
Scene III: The praising of Ophelia.
Thou art as lovely as the product of a large rural town and my amazing
bottomless embroidered purse. Speak thy mind!
Thou art as loving as the product of the bluest clearest sweetest sky
and the sum of a squirrel and a white horse. Thou art as beautiful as
the difference between Juliet and thyself. Speak thy mind!
[Exeunt Ophelia and Hamlet]
Act II: Behind Hamlet's back.
Scene I: Romeo and Juliet's conversation.
[Enter Romeo and Juliet]
Speak your mind. You are as worried as the sum of yourself and the
difference between my small smooth hamster and my nose. Speak your
Speak YOUR mind! You are as bad as Hamlet! You are as small as the
difference between the square of the difference between my little pony
and your big hairy hound and the cube of your sorry little
codpiece. Speak your mind!
Scene II: Juliet and Ophelia's conversation.
Thou art as good as the quotient between Romeo and the sum of a small
furry animal and a leech. Speak your mind!
Thou art as disgusting as the quotient between Romeo and twice the
difference between a mistletoe and an oozing infected blister! Speak
(This is the contents of the file primes.spl.)
Prime Number Computation in Copenhagen.
Romeo, a young man of Verona.
Juliet, a young woman.
Hamlet, a temporary variable from Denmark.
The Ghost, a limiting factor (and by a remarkable coincidence also
Act I: Interview with the other side.
Scene I: At the last hour before dawn.
[Enter the Ghost and Juliet]
You pretty little warm thing! Thou art as prompt as the difference
between the square of thyself and your golden hair. Speak your mind.
Listen to your heart!
[Exit the Ghost]
Thou art as sweet as a sunny summer's day!
Act II: Determining divisibility.
Scene I: A private conversation.
Art thou more cunning than the Ghost?
If so, let us proceed to scene V.
You are as villainous as the square root of Romeo!
You are as lovely as a red rose.
Scene II: Questions and the consequences thereof.
Am I better than you?
If so, let us proceed to scene III.
Is the remainder of the quotient between Romeo and me as good as
If so, let us proceed to scene IV.
Thou art as bold as the sum of thyself and a roman.
Let us return to scene II.
Scene III: Romeo must die!
Open your heart.
Thou art as rotten as the difference between nothing and the sum of a
snotty stinking half-witted hog and a small toad!
Speak your mind!
Scene IV: One small dog at a time.
Thou art as handsome as the sum of thyself and my chihuahua!
Let us return to scene I.
Scene V: Fin.
(This is the contents of the file reverse.spl.)
Outputting Input Reversedly.
Othello, a stacky man.
Lady Macbeth, who pushes him around till he pops.
Act I: The one and only.
Scene I: In the beginning, there was nothing.
[Enter Othello and Lady Macbeth]
You are nothing!
Scene II: Pushing to the very end.
Open your mind! Remember yourself.
You are as hard as the sum of yourself and a stone wall. Am I as
horrid as a flirt-gill?
If not, let us return to scene II. Recall your imminent death!
You are as small as the difference between yourself and a hair!
Scene III: Once you pop, you can't stop!
Recall your unhappy childhood. Speak your mind!
You are as vile as the sum of yourself and a toad! Are you better
If so, let us return to scene III.
Scene IV: The end.