1.0.0 • Published 5 years ago

node-brainfuck-compiler v1.0.0

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
5 years ago

node-brainfuck-compiler npm

A CLI Brainfuck compiler in Node.js. Brainfuck is an esoteric programming language. Find out more on Wikipedia.

Installation

In order to use the CLI command, you need to install it globally:

npm install --g node-brainfuck-compiler

Usage

Then, execute:

brainfuck-compiler

You should see "hello world", as it is the default "Brainfuck code", if no input is provided.

To provide input and output:

brainfuck-compiler -i path/to/input.bf -o path/to/output.js

Paths must be relative to the current working directory.

Options

CLI options available:

  • -i for the input file path (Brainfuck source code)
  • -o for the output file path (Node.js JavaScript output)

Contributing

Feel free to open an Issue or send me a direct message.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the Apache License 2.0 - see the LICENSE.md file for details.