tiny-brainfuck-interpreter
v1.1.0
Published
**A tiny Brainfuck interpreter**
Downloads
3
Readme
A tiny Brainfuck interpreter
About Brainfuck
Brainfuck is a minimal computer language with a syntax consisting of only eight symbols that make up all operations. Still, Brainfuck is a turing-complete programming language.
Install
npm install tiny-brainfuck-interpreter
Usage
const { brainfuckInterpreter } = require('tiny-brainfuck-interpreter');
const tape = brainfuckInterpreter('++++++[>++++++<-]>.');
// output:: $
console.log(tape);
// [0, 36]
or
npx tiny-brainfuck-interpreter '++++++[>++++++<-]>.'
// output:: $
// [0, 36]