brainfuckify
v0.0.2
Published
Turns some text into valid BF code.
Downloads
1
Readme
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