1.0.4 • Published 6 years ago

bf-cli v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

bf-cli

A simple wrapper around braincrunch to execute Brainfuck files easily straight from the command line.

Usage

With npm >= 5.2.0

npx bf-cli [<PATH_TO_FILE>] [<INPUT>]

or with npm < 5.2.0

$ npm i -g bf-cli && bf-cli [<PATH_TO_FILE>] [<INPUT>]

Examples

In examples there are a couple of example files.

helloWorld.bf

$ bf-cli examples/helloWorld.bf

prints

$ Hello World!

readInput.bf reads one character in, raises the value of it by one and prints it

$ bf-cli examples/readInput.bf a

prints

$ b
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago