Created
October 22, 2016 22:38
-
-
Save ishahid/111b167c323c0f3566cec1b69384b149 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
++++++++++ initialize counter (cell #0) to 10 | |
[ use loop to set the next six cells to 70/80/90/100/30/10 | |
> +++++ ++ add 7 to cell #1 | |
> +++++ +++ add 8 to cell #2 | |
> +++++ ++++ add 9 to cell #3 | |
> +++++ +++++ add 10 to cell #4 | |
> +++ add 3 to cell #5 | |
> + add 1 to cell #6 | |
<<<<<< - decrement counter (cell #0) | |
] | |
> +++ . print 'I' | |
>>> +++++ ++++ . print 'm' | |
+++++ . print 'r' | |
< +++++ ++ . print 'a' | |
> ---- . print 'n' | |
> ++ . print ' ' | |
<<< +++ . print 'S' | |
>> ----- - . print 'h' | |
< . print 'a' | |
> . print 'h' | |
+ . print 'i' | |
----- . print 'd' | |
>> . print '\n' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment