Skip to content

Instantly share code, notes, and snippets.

@QuantumFractal
Last active September 1, 2015 15:30
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 QuantumFractal/a5299d9cffd9bcd93915 to your computer and use it in GitHub Desktop.
Save QuantumFractal/a5299d9cffd9bcd93915 to your computer and use it in GitHub Desktop.
Fun with Brainfuck

Yeah yeah, gist's aren't supposed to have README's. Whatever. In order to run this stuff I'll write a brainfuck interpreter. Run it with >python brainfuck.py file.bf

Enjoy!

+++++ +++++ +++ Cell #0 to 13
[
> +++++ Set #1 and #2 to 65 (base ascii)
> +++++
<< -
]
> +++++ ++ . Set #1 to 'H' and print
> +++++ +++ . Set #2 to 'I' and print
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment