BrainFuck. It basically means to overcomplicate a fairly easy task. This is apt for the language which has been named so. It is an extremely minimalist language with only 8 commands.
It is Turing complete and can be used to solve any problem that can be solved by a computer or in other words, every single algorithm can be implemented in it but that'll be far from practical
due to the lack of abstraction and well, the minimalism. But that doesn't mean it's not fun to rack our brains, get frustrated and then finally solve a problem in BrainFuck.
This language is a great way to understand how a computer works at a very low level. It's a great way to understand how memory works, how the stack works, how loops work and how the program counter works.
In this web interface, you'll be able to gain amazing insight into this language and how it works. You can write your own code, see it running, and debug it.
You can also run some example programs to get a feel of how the language works.
You'll find a legend for the commands on the page, but I'll recommend reading about them first. Try the
ReadMe file in the repository for a more detailed explanation of the commands.
Here's how to use the website :
- You'll find a brief into on the left side of the page along with the legend
- Write your code in the code box. Any characters not allowed, will be treated as comments and removed at run.
- Enter in the inputs if required in the input box separated by a space. So, if you want to input a 1 first and then a 2, fill '1 2'. Program will automatically take them.
- Click on the Run button to run the code. You can also pause the code by clicking on the Pause/Play button.
- Click on the Step button to run the code one step at a time.
- Click on the Reset button to reset the memory and the inputs, output.
- You can change the speed of the code by using the slider.
- You can also use the example programs to see how they work.