We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.
Brainfuck compiler
Brainfuck Compiler, Created by Polybagel
What is the brainfuck compiler?
The brainfuck compiler is a simple program that allows you to either copy paste, manually type, or open native brainfuck code and compile it into an exe file. This does not add any additional commands, as it uses the vanilla commands. For those who need a quick refresher, here's a list of them.
| Command | Description |
|---|---|
| > | Move the pointer to the right |
| < | Move the pointer to the left |
| + | Increment the memory cell at the pointer |
| - | Decrement the memory cell at the pointer |
| . | Output the character signified by the cell at the pointer |
| , | Input a character and store it in the cell at the pointer |
| [ | Jump past the matching ] if the cell at the pointer is 0 |
| ] | Jump back to the matching [ if the cell at the pointer is nonzero |
How does it work?
Well, its actually quite simple. The brainfuck compiler simply converts the brainfuck code into C code, and uses gcc to compile the exe file. Additionally, the brainfuck compiler supports multi-line editing, there are no comments, as any characters that aren't commands are discarded, so any plain text is automatically a comment.
Where can I get the brainfuck compiler?
You can download it from this github link: https://github.com/Polybagel/Brainfuck-Compiler
Screenshots

