Brainfuck is an esoteric programming language with 8 operators: <>+-[],.
- "<" moves the memory pointer one block to the left
- ">" moves the memory pointer one block the the right
- "+" Increments the value of what the pointer points to.
- "-" Decrements the value of what the pointer points to.
- "[" Opens a while loop. If the current pointer value is zero, skip the loop.
- "]" Jump back to "[". If the current pointer value is zero, exit the loop.
- "," Accept 1 character of user input.
- "." Print the Ascii character of the value currently pointed to.
- bfi.c is a brainfuck interpreter written in C. It even supports nested while loops.
- roachhd, has a nice brainfuck tutorial.
- minond has a nice brainfuck ide
- add.bf is an original program I wrote. It simply takes an input of two single digit integers, adds them together, and displays the output to terminal. The most difficult part of this program was converting the added result to a two-character output.