A Brainfuck interpreter implemented in JavaScript.
$ npm install --save brunfaick
const brunfaick = require('brunfaick');
brunfaick('++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.');
//=> 'Hello World!'
Type: string
A string of Brainfuck commands.
Type: string
Default: undefined
Input provided to program
during execution.
$ npm install --global brunfaick
$ brunfaick --help
Usage
$ brunfaick [program]
Options
-f, --file
Path to a Brainfuck file.
-i, --input
Input provided to [program] during execution.
Examples
$ brunfaick '++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.'
Hello World!
$ brunfaick --file=hello-world.b
Hello World!
$ brunfaick --file=wc.b --input='foo bar baz'
0 3 11
MIT © Max Hallinan