top of page

BF | Brainfuck

Updated: Jan 6, 2021

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!


42 views0 comments

Recent Posts

See All

Mobile | Secret Phone Codes

Our smartphones have become extensions of ourselves, facilitating much of our communication and storing troves of private data. If someone wants to monitor your activity, tapping your phone is a viabl

Mouse & Keyboard Bot

This article illustrates how to automate mouse and keyboard movements using pyautogui module in python. This module is not preloaded with python. So to install it run the following command: The code s

Edit a Website with a Java console

Edit a website – even if it’s not yours! This is how you can edit any website directly from your browser: #1) Open a Webpage; #2) Right-click on any spot in the website, select “Inspect Element”; #3)

Comments


bottom of page