Created
March 18, 2014 18:27
-
-
Save JKrag/9626311 to your computer and use it in GitHub Desktop.
This file contains 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 70/90/110/30/10 | |
> +++++ ++ add 7 to cell #1 | |
> +++++ ++++ add 9 to cell #2 | |
> +++++ +++++ + add 11 to cell #3 | |
>+++ add 3 to cell #4 | |
> + add 1 to cell #5 | |
<<<<< - decrement counter in cell #0 | |
] | |
> ++++ . Increment cell #1 to 74 and print 'J' | |
> +++++ ++ . Increment cell #2 to 97 and print 'a' | |
> . Use cell #3 to print 'n' | |
> ++ . Increment cell #4 to print ' ' | |
<<<+ . Increment cell #1 to 75 to print 'K' | |
>> ++++ . Increment cell #3 to 114 to print 'r' | |
< . print 'a' Use cell #2 again to print 'a' | |
+++++ +. And increment it to 103 to print 'g' | |
>>> . Use cell 5 to print '\n |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment