#Pancake Stack, 532 bytes
Pancake Stack, 532 bytes
Put this tasty pancake on top! [] Put this delicious pancake on top! [#] Put this pancake on top! How about a hotcake? If the pancake is tasty, go over to "#". Eat all of the pancakes! Put this supercalifragilisticexpialidociouseventhoughtheso pancake on top! Flip the pancakes on top! Take from the top pancakes! Flip the pancakes on top! Take from the top pancakes! Put this supercalifragilisticexpialidociouseventhoughthes pancake on top! Put the top pancakes together! Show me a pancake! If the pancake is tasty, go over to "". It assumes the input is terminated by a null character. The strategy is as follows:
- Take a character of input
- Subtract the ascii value of
1from it. - Subtract that from
0(yielding a1if we had0, or a0if we had1) - Add the ascii value of
0to it - Print the char.
- Repeat