BF | Brainfuck

Updated: Jan 7

Brainfuck is an esoteric programming language created in 1993 by Urban Müller. Notable for its extreme minimalism, the language consists of only eight simple commands and an instruction pointer. While it is fully Turing complete, it is not intended for practical use, but to challenge and amuse programmers. Brainfuck simply requires one to break commands into microscopic steps.

The language's name is a reference to the slang term brainfuck, which refers to things so complicated or unusual that they exceed the limits of one's understanding.

The idea behind brainfuck is memory manipulation. Basically you are given an array of 30,000 1byte memory blocks. The array size is actually dependent upon the implementation used in the compiler or interpretor, but standard brainfuck states 30,000. Within this array, you can increase the memory pointer, increase the value at the memory pointer, etc.

Some rules:

Any arbitrary character besides the 8 listed above should be ignored by the compiler or interpretor. Characters besides the 8 operators should be con- sidered comments;

All memory blocks on the "array" are set to zero at the beginning of the program. And the memory pointer starts out on the very left most memory block;

Loops may be nested as many times as you want. But all [ must have a corre- sponding ].


👽👉 Grab the code below and past into the decrypt tool and you will see the phrase inside the "blue code":


++++++++++[>+>+++>+++++++>++++++++++<<<<-]>>>+++++++.>---.+++++++++++++.+++++++++++.<<++.>>-----.------------.-------.+++++++++++++.---.++++++++.<<.>>-------------.+++++++++.+++.<<.>>+++++++.----------.++++++.---.<<.>>++++.-------------.++++++++++.----------.+++++++++++.<<+.-.>++++++.+.---------------.+++++++++.-------.--.<++++++++++++++.>>-----------.+++++.--------.+++++++++.

This post was just a simplification of what it is and how it works... brainfuck is very complex!


28 views0 comments

Recent Posts

See All

Python | Getting pictures from Instagram

In this post you will learn how you can save pictures from Instagram account in your PC using Python. You just need to install "instalooter" into your Python packages and run the command. There are ma

PowerShell ISE | Multiple Ping

The Windows PowerShell Integrated Scripting Environment (ISE) is a graphical user interface and front-end hosting application for Windows PowerShell. The ISE enables developers to run PowerShell comma

Telegram message with Python

In this post I am showing how to send text message and photo from any computer to mobile telegram app. This is only few lines of code to send automatic message to smartphone from raspberry pi or from