0.0.2 • Published 5 years ago

brainfuckify v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

brainfuckify

A naive ascii text to brainfuck compiler

Why?

Typing stuff so that it prints normally in BF is a huge pain when done manually.

Installation

npm install brainfuckify

Usage

const brainfuckify = require('brainfuckify');

brainfuckify('Hello, world!');
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// ++++++++++++++++++++++++++++++++++++++++++++.>
// ++++++++++++++++++++++++++++++++.>
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>
// +++++++++++++++++++++++++++++++++.

Also see test folder for an example.

License?

MIT