kmandrika/bf-interpreter
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
This is a simple Brainfuck (http://en.wikipedia.org/wiki/Brainfuck) interpreter written in C++. The basics: -------------------------------------------------------------------------- Usage: [OPTION]... <source-file> Options: -e, --evaluate=program evaluate a one line program -i, --ignore-unknowns ignore unknown commands within the program -s, --use-signed-cells use a signed type for each cell -h, --help print this message -------------------------------------------------------------------------- $ bf -e "++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>." Hello World! $