library brainfuck
Brainfuck implementation.
igorw/brainfuck
Brainfuck implementation.
- Saturday, November 29, 2014
- by igorw
- Repository
- 1 Watchers
- 6 Stars
- 5 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 2 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
brainfuck-php
, (*1)
Brainfuck is a turing complete language with 8 instructions., (*2)
Example
Hello World:, (*3)
>+++++++++[<++++++++>-]<.>+++++++[<++++>-]<+.+++++++..+++.>>>++++++++[<++++>-]
<.>>>++++++++++[<+++++++++>-]<---.<<<<.+++.------.--------.>>+.
Cat:, (*4)
,[.,]
Usage
Just pass a filename to the interpreter:, (*5)
$ bin/brainfuck examples/hello.b
You can also run the debug command to get a log of all instructions., (*6)
$ bin/brainfuck debug examples/hello.b
References
dev-master
9999999-dev
Brainfuck implementation.
Sources
Download
MIT
The Requires
The Development Requires
brainfuck