Skip to content

Instantly share code, notes, and snippets.

@wadmiraal
Last active December 22, 2015 19:29
Show Gist options
  • Save wadmiraal/6520040 to your computer and use it in GitHub Desktop.
Save wadmiraal/6520040 to your computer and use it in GitHub Desktop.
My first brainf* program. If you copy-paste this into the http://brainfuck.tk/ interpreter, and give it an input, it'll print "Wouter says [your input]".
++++++++ [ > ++++++++++ < - ] > +++++++ .
> +++++++++++ [ > ++++++++++ < - ] > + .
> +++++++++++ [ > ++++++++++ < - ] > +++++++ .
> +++++++++++ [ > ++++++++++ < - ] > ++++++ .
> ++++++++++ [ > ++++++++++ < - ] > + .
> +++++++++++ [ > ++++++++++ < - ] > ++++ .
> +++ [ > ++++++++++ < - ] > ++ .
> +++++++++++ [ > ++++++++++ < - ] > +++++ .
> +++++++++ [ > ++++++++++ < - ] > +++++++ .
> ++++++++++++ [ > ++++++++++ < - ] > + .
> +++++++++++ [ > ++++++++++ < - ] > +++++ .
> +++ [ > ++++++++++ < - ] > ++ .
>> , [ > , ] < [ < ] > . [ > . ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment