Last active
July 11, 2017 10:15
-
-
Save angrykoala/b44ccb1ccba60506a824 to your computer and use it in GitHub Desktop.
Easy and comprehensive example of Brainf*uck language
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
Easy and comprehensive example of Brainf*uck language | |
@angrykoala | |
Writes text | |
>++++++++[<+++++++++++>-]<-. | |
>+++[<+++++++++>-]<. | |
---------. | |
+++++++++++. | |
---------------. | |
>+++++++[<---------->-]<+. | |
>++++++++[<+++++++++++>-]<+. | |
----------. | |
++++++. | |
---. | |
>+++++++++[<--------->-]<-. | |
>++++++[<+++++++++++++>-]<. | |
-------------. | |
++++++++++++. | |
--------. | |
>++++++[<------->-]<-. | |
>+++++[<----->-]<-. | |
Cleans first byte | |
[-] | |
Reads Input | |
+[->,----------]<[+++++++++++<]>[>] | |
Writes Hello | |
[-]>[-]< | |
>++++++++[<+++++++++>-]<. | |
>++++[<+++++++>-]<+. | |
+++++++. | |
. | |
+++. | |
>++++++++[<---------->-]<+. | |
<[<] Returns to first byte | |
>[.>] Writes input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code can be stripped, resulting in: