Not a functioning brainf interpreter!
Failed to match looping brackets properly
+++++[>++[>+++<-]<-]
Closing brackets always return to most recent opening bracket instead of the matching one, making any code with nested loops break. Better than any other brainf interface I’ve seen (even on computers), but fails at a basic level.
Note to dev- instead of storing location of most recent open bracket, push it to stack and check stack when you hit a closing bracket. If current cell value is zero, before moving on, pop from stack.
+++++[>++[>+++<-]<-]
Closing brackets always return to most recent opening bracket instead of the matching one, making any code with nested loops break. Better than any other brainf interface I’ve seen (even on computers), but fails at a basic level.
Note to dev- instead of storing location of most recent open bracket, push it to stack and check stack when you hit a closing bracket. If current cell value is zero, before moving on, pop from stack.
Show more
Can’t handle nested loops?
This causes a crash.
++++[>++++[>+++<-]<-]
It should insert the value 48 into cell 2.
It seems to never re enter the inside loop.
++++[>++++[>+++<-]<-]
It should insert the value 48 into cell 2.
It seems to never re enter the inside loop.
Wow
This is fantastic 😂. Thank you so much for this.
So Awesome!
Not only can you run your Brainf code, it shows you what's happening behind the scenes too! Such a great tool to learn such a strange language. One of the best I've ever seen for Brainf.
The UI for input/output could use some work though. I'd love to be able to see my output without having to switch back and forth from the stack viewer to the output. It would also be great if the input was more integrated into the UI and not just a pop-up.
Love the app though. Great work!
The UI for input/output could use some work though. I'd love to be able to see my output without having to switch back and forth from the stack viewer to the output. It would also be great if the input was more integrated into the UI and not just a pop-up.
Love the app though. Great work!
Show more



