Skip to content

TheDanielMoli/node-brainfuck-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-brainfuck-compiler npm

A CLI Brainfuck to Node.js compiler, written in Node.js. Brainfuck is an esoteric programming language (or esolang). It's a Turing-complete minimalist language and can be thought as software art or as a joke, depending on how you want to see it. 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.