Skip to content

Instantly share code, notes, and snippets.

@shakalaca
Created December 25, 2014 04:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shakalaca/f4aa35eb4b0cdb16dbef to your computer and use it in GitHub Desktop.
Save shakalaca/f4aa35eb4b0cdb16dbef to your computer and use it in GitHub Desktop.
...
++++++++++ // set #0 to 10
[
>+++++ // add 5 to #1
>+++ // add 3 to #2
>++++++++++ // add 10 to #3
>+++++++++++ // add 11 to #4
<<<<- // decrement count in #0
] // in cell : [0,50,30,100,110]
>+++. // #1 : 50 + 3 = '5'
>++. // #2 : 30 + 2 = ' '
>++++. // #3 : 100 + 4 = 'h'
---. // #3 : 104 - 3 = 'e'
----. // #3 : 101 - 4 = 'a'
>++++. // #4 : 110 + 4 = 'r'
++. // #4 : 114 + 2 = 't'
-. // #4 : 116 - 1 = 's'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment