Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of github.com:ddavenport/brainfuck

  • Loading branch information...
commit cf88b1a9face55f2ed731aaf5b16a20500ea1b6b 2 parents 03124d7 + b27b360
ddavenport authored September 05, 2012
3  examples/hello.bf
... ...
@@ -1,3 +1,6 @@
  1
+** hello world
  2
+** shamelessly swiped from wikipedia
  3
+
1 4
 +++++ +++++             initialize counter (cell #0) to 10
2 5
 [                       use loop to set the next four cells to 70/100/30/10
3 6
     > +++++ ++              add  7 to cell #1
3  examples/rot13.bf
... ...
@@ -1,3 +1,6 @@
  1
+** rot13 in brainfuck
  2
+** shamelessly swiped from wikipedia
  3
+
1 4
 -,+[                         Read first character and start outer character reading loop
2 5
     -[                       Skip forward if character is 0
3 6
         >>++++[>++++++++<-]  Set up divisor (32) for division loop

0 notes on commit cf88b1a

Please sign in to comment.
Something went wrong with that request. Please try again.