Skip to content

kmandrika/bf-interpreter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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!
$

About

a simple brainfuck interpreter written in c++.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published