node-brainfuck-compiler

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i node-brainfuck-compiler

Weekly Downloads

0

Version

1.0.0

License

Apache-2.0

Unpacked Size

16.5 kB

Total Files

6

Last publish

Collaborators

  • sadkit