================================== BRAINF INTERPRETER 1.2 ================================== Welcome to this new and improved brainf interpreter, now with Unlimited Memory Mode for TurboWarp users! This brainf interpreter has been fully tested, and works with MOST tested programs. (If one program doesn't work, please tell me in the comments) (LOST KINGDOM IS NOT BROKEN, it just expects a different style of input). This brainf interpreter is not like other interpreters on Scratch because it also sports debugger features, like stepping and viewing memory. Not only that, but the input is case sensitive. Additionally, you can enable Unlimited Memory Mode if using TurboWarp! ================================== EXAMPLE PROGRAMS ================================== - Hello World: ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++. - Codegolfed Hello World: +[>>>->-[>->----<<<]>>]>.---.>+..+++.>>.<.>>---.<<<.+++.------.<-.>>+. - Truth machine (type 1 and it spams "1", type 0 and it says "0" once): ++++++++[>++++++<-]>+>,------------------------------------------------[<.>]<-. ================================== TESTING ================================== If you would like to test this interpreter, feel free to do so! Also, if you would like, you can suggest speed improvements that make it faster in vanilla Scratch. ================================== BUGS ================================== If you find bugs, please report them to me immediately. I will try to find a solution. I will notify you: - When I see your bug report - When I start work on debugging - If the problem is fixed and I can find a solution ================================== CHANGELOG ================================== - 6/15/2025 Fixed bug where turning on unlimited memory mode would grow the memory VERY FAST - 01/03/2025 Fixed bug where turning on authentic 32kb mode would turn on unlimited memory mode, and in vanilla Scratch unlimited memory mode just gives programs 200kb of memory so effectively authentic 32kb mode wouldn't have mattered ================================== CREDITS ================================== - Wikipedia for the specification and a helpful tip on how to handle loops - esolangs.org and GitHub for some helpful test programs - All code by me. ================================== TAGS ================================== #programming ==================================