brainfuck
brainfuck copied to clipboard
A Brainfuck interpreter running on node.js
Will send a PR with an example right away :)
You have created an array prototype method `top`. There is little point to this method. ```js if (!Array.prototype.top) { Array.prototype.top = function top() { return this[this.length - 1]; }; }...
E.g. ``` bash $ brainfuck -c '.+[.+]' # execute a brainfuck script directly !"#$%&'()*+,-./0123456789:;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~ ¡¢£¤¥¦§¨©ª«¬®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ # execute a brainfuck file, passing input to the program $ brainfuck...