A simple brain fuck interpreter in javascript
Command | Operator | |
---|---|---|
Incremment | + | ✅ |
Decremment | - | ✅ |
Forward | > | ✅ |
Backward | < | ✅ |
Input | , | ▪️ |
Output | . | ✅ |
Debug | # | ▪️ |
Legend | |
---|---|
▪️ | Not implemented |
✅ | Implemented |
bf('++++++++[>++++[>++>+++>+++>+<<<<-]>+>->+>>+[<]<-]>>.>>---.+++++++..+++.', console.log);
Enjoy 😄