No description or website provided.
C++ Brainfuck Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Makefile
README.md
hello.b
main.cpp

README.md

brainfuck++

A toy brainfuck interpreter written in C++. I wrote this as a learning exercise to understand pointers. You can read about it here.

To Build

You need GCC.

make

Run It

./brainfuck -e ">++++++++[<+++++++++>-]<.>>+>+>++>[-]+<[>[->+<<++++>]<<]>.+++++++..+++.>
>+++++++.<<<[[-]<[-]>]<+++++++++++++++.>>.+++.------.--------.>>+.>++++."
Hello World!
./brainfuck hello.b
Hello World!

Run a Brainfuck program as a script

#! /usr/local/bin/brainfuck
>++++++++[<+++++++++>-]<.>>+>+>++>[-]+<[>[->+<<++++>]<<]>.+++++++..+++.>
>+++++++.<<<[[-]<[-]>]<+++++++++++++++.>>.+++.------.--------.>>+.>++++.
chmod +x script.b
/script.b
Hello World!