a human-usable brainf**k interpreter for macOS
We've all heard of brainf**k -- you know, that "programming language" where the standard Hello, World!
program looks like this:
>++++++++[<+++++++++>-]<.>++++[<+++++++>-]<+.+++++++..+++.>>++++++[<+++++++>-]<+
+.------------.>++++++[<+++++++++>-]<+.<.+++.------.--------.>>>++++[<++++++++>-
]<+.
Not very enticing, is it? 🫤
Brainflip attempts (attempts) to remedy that.
You're provided with a relatively full-fledged editor to do your evildoings programming with. You can run programs, trim those programs to make them really unreadable, step through programs to identify that one stupid instruction that's breaking literally everything, and inspect just about every aspect of the interpreter, from the total instructions executed to the exact contents of the array.
Oh, and did I mention it's highly configurable? It's highly configurable. Like, really highly configurable. Like, so ridiculously configurable it's excessive.
(A somewhat full list of features can be found in Features.md
.)
First, download the Xcode 15 beta if you haven't already.
Clone this repo, and open Brainflip.xcodeproj
. Once Xcode's done with package resolution, hit ⌘R to build and run the project.
I used the epistle to the implementors as a reference when putting together the interpreter and some of its settings. I don't know who the heck you are, but thanks anyway, Daniel.