Brainf*ck 12+

Development Tool

macflash.ru

    • Free
    • Offers In-App Purchases

Description

Brainf*ck is an esoteric programming language created in 1993 by Urban Müller, and is 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. Brainf*ck simply requires one to break commands into microscopic steps.

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

History

In 1992, Urban Müller, a Swiss physics student, took over a small online archive for Amiga software. The archive grew more popular, and was soon mirrored around the world. Today, it is the world's largest Amiga archive, known as Aminet.

Müller designed Brainf*ck with the goal of implementing it with the smallest possible compiler, inspired by the 1024-byte compiler for the FALSE programming language. Müller's original compiler was implemented in machine language and compiled to a binary with a size of 296 bytes. He uploaded the first Brainf*ck compiler to Aminet in 1993. The program came with a "Readme" file, which briefly described the language, and challenged the reader "Who can program anything useful with it? :)". Müller also included an interpreter and some quite elaborate examples. A second version of the compiler used only 240 bytes.

As Aminet grew, the compiler became popular among the Amiga community, and in time it was implemented for other platforms. Several Brainf*ck compilers have been made smaller than 200 bytes, and one is only 100 bytes.

Language design

The language consists of eight commands, listed below. ABrainf*ck program is a sequence of these commands, possibly interspersed with other characters (which are ignored). The commands are executed sequentially, with some exceptions: an instruction pointer begins at the first command, and each command it points to is executed, after which it normally moves forward to the next command. The program terminates when the instruction pointer moves past the last command.

The Brainf*ck language uses a simple machine model consisting of the program and instruction pointer, as well as an array of at least 30,000 byte cells initialized to zero; a movable data pointer (initialized to point to the leftmost byte of the array); and two streams of bytes for input and output (most often connected to a keyboard and a monitor respectively, and using the ASCII character encoding).

Privacy policy: https://static.macflash.ru/PRIVACY_POLICY_EN
Terms of use: https://static.macflash.ru/TERMS_OF_USE_EN

What’s New

Version 2.5

Scheduled library updates

App Privacy

The developer, macflash.ru, indicated that the app’s privacy practices may include handling of data as described below. For more information, see the developer’s privacy policy.

Data Not Linked to You

The following data may be collected but it is not linked to your identity:

  • Purchases

Privacy practices may vary based on, for example, the features you use or your age. Learn More

Supports

  • Family Sharing

    Some in‑app purchases, including subscriptions, may be shareable with your family group when Family Sharing is enabled.

More By This Developer

Morse:Code training to CW guru
Utilities
Flychat: Brain game for family
Entertainment
Patterns: Background wallpaper
Utilities
Raybench: OS system speed test
Utilities
Parrot Poll: Talking and smart
Utilities
Do good: Real help to people
Lifestyle

You Might Also Like

mDebugger
Developer Tools
Blue Van Clef for Mobile
Developer Tools
Adaptivity (B)
Developer Tools
Adaptivity (C)
Developer Tools
TheCodeViewer
Developer Tools
Authen Digital
Developer Tools