Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 910 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 910 Bytes

Brainfuck Interpreter

A brainfuck interpreter written in C++.

To use, just run the program with a path to your file as the argument.

Instructions Description
+ Increment the byte at the current data pointer position
- Decrement the byte at the current data pointer position
> Increment data pointer
< Decrement data pointer
. Print byte at current data pointer
, Accept 1 char of input and store at data pointer position
[ If value at data pointer is 0, jump to matching ]
] If value at data pointer is not 0, jump to matching [