Content added Content deleted
imported>mutante mNo edit summary |
imported>mutante mNo edit summary |
||
Line 1: | Line 1: | ||
A programming language that can do exactly 4 things: |
A programming language that can do exactly 4 things: |
||
H Prints "Hello, world!" |
H Prints "Hello, world!" |
||
Q Prints the entire text of the source code file. |
Q Prints the entire text of the source code file. |
||
9 Prints the complete canonical lyrics to "99 Bottles of Beer on the Wall" |
9 Prints the complete canonical lyrics to "99 Bottles of Beer on the Wall" |
||
+ Increments the accumulator. |
+ Increments the accumulator. |
||
Latest revision as of 12:57, 3 January 2007
A programming language that can do exactly 4 things:
H Prints "Hello, world!" Q Prints the entire text of the source code file. 9 Prints the complete canonical lyrics to "99 Bottles of Beer on the Wall" + Increments the accumulator.
So the source code for the famous "99 bottles of beer"-program is simply: 9. ;)