bfuck

0.0.1 • Public • Published

bfuck

A Brainfuck compiler for Javascript.

Usage

const bfuck = require("bfuck");
 
const func = bfuck(`++++++++++[>+++++++>++++++++++>+++>+<<<<-]>++.>+.+++++++..+++.>++.<<+++++++++++++++.>.+++.------.--------.>+.>.`);
console.log(func());
Hello World!


API

function bfuck(source[, cells])

Compiles your Brainfuck program into Javascript and returns it as a function.

Readme

Keywords

none

Package Sidebar

Install

npm i bfuck

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • montyanderson