LYCOS RETRIEVER Beta Retriever Home  |  What is Lycos Retriever?   
Brainfuck
built 213 days ago
Inofficial brainfuck logo done by me Brainfuck's memory is an array of chars. A char is a data type which can hold one byte... a numerical value from 0 to 255. A char can represent a character in your character table (hence the name 'char'). A character can be either a letter or a digit, or it can also represent special characters such as line-feed or tab. Just have a quick look at the character table above showing the ASCII-character set (which is a subset of all possible characters - the usage of the remaining 128 characters varies).
Source:
Brainfuck is a so-called esoteric programming language, meaning it's "intentionally unusual" (Chris Pressey). Brainfuck was invented by Urban Müller, whose goal was to create the smallest possible compiler. The second version of this compiler was 240 bytes in size (compiled ASM)! Urban Müller ... wrote an interpreter in C:
Source:
A Brainfuck program has an implicit byte pointer, called simply 'the pointer', which is free to move around within an array of 30,000 bytes, initially all set to zero. The pointer itself is initialized to point to the beginning of this array. The Brainfuck programming language consists of eight commands, each of which is represented as a single character.
A Brainfuck program has a pointer that moves within an array of 30000 bytes, initially all set to zero. The pointer initially points to the beginning of this array. The language has eight commands, each of which is represented as a single character, and which can be expressed in terms of C as follows:
Weiterhin existiert die Programmiersprache Brainfuck 2D, die das Brainfuck-Konzept in einen 2-dimensionalen Zeichenraum portiert. Dabei wird mit Textzeichen eine Schnur gebildet, deren Richtung den entsprechenden Brainfuck-Befehl angibt, wobei die Länge unbedeutend für die Anzahl der Aufrufe ist. Ein Befehl wird entsprechend der Summe aller Ziffern auf seinem Abschnitt wiederholt. So ist +********* der gleiche Befehl wie +; +93*** führt den Befehl jedoch zwölf Mal aus (9+3=12). Der Befehl +0**** wird nicht interpretiert, da er null Mal ausgeführt wird. Auf diese Weise kann man sich Platz für seine Schnur verschaffen, sollte dieser einmal nicht reichen.
Brainfuck's unusual name might lead you to think of it as a preposterous and absurd invention. In fact, Brainfuck was meant to be named "Mental Masturbation" first, but he then stuck to "Brainfuck".
Source:
SEARCH
MORE ABOUT
  Brainfuck