Spider Giant
Jump to navigation
Jump to search
Spider Giant is a Trivial brainfuck substitution created by User:PixelatedStarfish for giggles. It is named for the song Spider by They Might Be Giants and substitutes commands for song lyrics.
Command Table
Command | Substitute | Description |
---|---|---|
>
|
Spider | Move the pointer to the right |
<
|
He is our hero! | Move the pointer to the left |
+
|
We love you spider! | Increment the memory cell at the pointer |
-
|
Get rid of | Decrement the memory cell at the pointer |
.
|
Must stop! | Output the character signified by the cell at the pointer |
,
|
Step on Spider! | Input a character and store it in the cell at the pointer |
[
|
I promise not to kill you. | Jump past the matching ] if the cell at the pointer is 0
|
]
|
Oh! | Jump back to the matching [ if the cell at the pointer is nonzero
|
Examples
Hello, World!
This program prints the message “Hello, World!” to the standard output:
We love you spider! I promise not to kill you. Get rid of Get rid of Spider Get rid of I promise not to kill you. Spider Spider We love you spider! Spider Get rid of Get rid of Get rid of Get rid of Get rid of He is our hero! He is our hero! Oh! He is our hero! Get rid of Get rid of He is our hero! Get rid of Get rid of Get rid of Oh! Spider Get rid of Must stop! Spider Spider Spider We love you spider! Must stop! Spider Spider Must stop! Must stop! We love you spider! We love you spider! We love you spider! I promise not to kill you. Must stop! Spider Oh! He is our hero! He is our hero! He is our hero! He is our hero! Must stop! We love you spider! We love you spider! We love you spider! Must stop! Get rid of Get rid of Get rid of Get rid of Get rid of Get rid of Must stop! He is our hero! He is our hero! Get rid of Must stop! Spider Spider Spider Spider We love you spider! Must stop!
Cat Program
The following implements a repeating cat program which terminates on a null character input:
Step on Spider! I promise not to kill you. Must stop! Step on Spider! Oh!
Interpreter
- Common Lisp implementation of the Spider Giant programming language.