Inspiration
Brainf**k is a Turing-complete language (basically meaning it could theoretically program anything) and it's only made up of 8 symbols ( > < + - . , ] [). Believe it or not. it's possible to code fractals and even a self-interpreter with this language. If you thought MIPS was hard, well you would be gracious to hear that it takes a near 111 characters to print a "Hello world". BF is a language that lives by its name, a language that you can't even possibly understand without having your brain ****ed.
Given there are only 8 symbols, all you need to do to make your own variant is to modify those 8 symbols. There are many variants like Ook! which is also 8 symbols but in Orangutan speak (Ook! oOk!) (try it out in the live interpreter!)
What it does
It's a web interpreter that can evaluate BF code, but has an extra capability of letting users customize the symbols to make their own BF variant.
How we built it
The entire interpreter is built in a React app, with (very bad) styling with the Bootstrap library. Hosting is on by Github Pages.
Challenges we ran into
- Typescript was not cooperating with the mixed types, so I had to switch over to Javascript
- Bugs in Javascript state updates
Accomplishments that we're proud of
- Having the interpreter and baseline features of the UI coded
- Deploying the app so others can try it out
What we learned
- How to tokenize for symbols with multiple characters
- How to use classes and imports in Javascript
What's next for Make Your Own Brainf**k Variant!
- Adding more interactive elements in the UI (built-in IDE with syntax highlighting, display for the internal memory during runtime)
- Bug fixes

Log in or sign up for Devpost to join the conversation.