node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

@yuanchuan/brainfuck

BrainFuck

A simple brainfuck interpreter.

[ hello world! ]
 
++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>
---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.

Installation

npm install -g @yuanchuan/brainfuck

Usage

$ brainfuck samples/numwarp.bf
 
1234
        \
      \/\
    /\
     /\
  /\  /
   /
 \ \/
  \