Last active
May 18, 2016 22:00
-
-
Save binford2k/35c62eabec39e36708275839d8591c5b 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
#! /usr/local/bin/brainfuck | |
++++++++++[>+++++++>++++++++++>++++++>+<<<<-]>++.>+.+++++++..+++.>+.<<+++++++++++++++.>.+++.------.--------.>>. |
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 the next four cells to 70/100/60/10 | |
> +++++ ++ add 7 to cell #1 | |
> +++++ +++++ add 10 to cell #2 | |
> ++++++ add 3 to cell #3 | |
> + add 1 to cell #4 | |
<<<< - decrement counter (cell #0) | |
] | |
> ++ . print 'H' | |
> + . print 'e' | |
+++++ ++ . print 'l' | |
. print 'l' | |
+++ . print 'o' | |
> + . print '=' | |
<< +++++ +++++ +++++ . print 'W' | |
> . print 'o' | |
+++ . print 'r' | |
----- - . print 'l' | |
----- --- . print 'd' | |
>> . print '\n' |
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
root@master:~ # facter hello | |
World |
This is why we can't.
Take the training wheels off and remove the comments. filthy casual.
Ah, there is one. Good job :) Carry on.
This uses the interpreter at zacstewart/brainfuck-pp#1
Noooooooooooooo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
why