slovo | definícia |
brainfuck (foldoc) | Brainfuck
An eight-instruction esoteric programming language
created by Urban Müller. His goal was apparently to create a
Turing-complete language with the smallest compiler ever, for
the Amiga OS 2.0. He eventually reduced his compiler to under
200 bytes.
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:
> ==> ++p;
< ==> --p;
+ ==> ++*p;
- ==> --*p;
. ==> putchar(*p);
, ==> *p = getchar();
[ ==> while (*p) {
] ==> }
{Brian Raiter's Brainfuck page
(http://muppetlabs.com/~breadbox/bf/)}.
(2003-11-18)
|
| podobné slovo | definícia |
*brainfuck (foldoc) | *brainfuck
("pointed brainfuck") A variant of the
Brainfuck
esoteric programming language in which each instruction has an
operand
that is the number before it in memory. Numbers refer to memory in a
bizarre
way. 0 refers to cell zero, 1 refers to the cell whose number is in
cell
zero and so on, so the number N refers to the result of
dereferencing cell
zero N times. The "*" in the name is a reference to the {*
(asterisk)}
operator in the C language that dereferences a pointer.
{Esoteric programming languages wiki entry
(https://esolangs.org/wiki/*brainfuck)}
(2022-08-28)
|
brainfuck (foldoc) | Brainfuck
An eight-instruction esoteric programming language
created by Urban Müller. His goal was apparently to create a
Turing-complete language with the smallest compiler ever, for
the Amiga OS 2.0. He eventually reduced his compiler to under
200 bytes.
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:
> ==> ++p;
< ==> --p;
+ ==> ++*p;
- ==> --*p;
. ==> putchar(*p);
, ==> *p = getchar();
[ ==> while (*p) {
] ==> }
{Brian Raiter's Brainfuck page
(http://muppetlabs.com/~breadbox/bf/)}.
(2003-11-18)
|
|