Knock knock
Jump to navigation
Jump to search
Knock knock Is An Esoteric programming Language created By User:Buckets in 2020.
| Commands | Instructions |
|---|---|
| Knock! | Go left If the Command to The right is knock!, Else go downwards. |
| Knock | Go downwards Once. |
| knock | Go Upwards Once. |
| knock! | Go right If The command To the Left Is Knock else, Go down Once. |
| Knock knock! | Start The program or Start of a Joke. |
| Who's there? | Add how many Knocks On the door The to The value From the start To the end of The Current Joke. |
| Who's There? | Subtract How many Knocks on The Door the To the Value to The start of This Joke and To here. |
| who's there? | Set the value To The Input Value. |
| m, who? | If the Value is m, ignore All commands Until another Joke is Formed. |
| n, Who? | Go to Line n. |
| o | Noop. |
| p | Prints p. |
| q! | Prints the Value. |
The Restriction is that it is Structured as A knock-knock Joke.
Cat Program:
Knock knock! Knock Knock Knock Knock! knock! Knock Knock! knock! who's there? AB! AB!, Who? No, it's worse!, it's a wasp!