BrainRelax (BR)
is a translator from the BF (BrainFuck)
programming language (a Turing-complete language) to other programming languages (such as C, TCL, PHP,
Pascal, Basic, Python, etc.). A Brainfuck program has an implicit byte pointer, called "the pointer", which is free to move around within an array of 30000 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.
> Increment the pointer. When i first came into BrainF**k, i realized why it is called so: A simple 'HelloWorld' program looks like this: >+++++++++[<++++++++>-]<.>++++++[<+++++>-]<-.+++++++..+++. >>+++++++[<++++++>-]<++.------------.<++++++++.--------. +++.------.--------.>+.>++++++++++.
When i started to decode the above simple statemement, i realized that writing in BrainFuck has
the two contrary meanings the word f**k has, depending on the context: intense suffering and pleasure.
These, -for some bizzare reason- are also the characteristics of writting low level obscure source code. Of course, my first translator was to the C language, (by far the best programming language in this universe, and maybe to other universes too). For more details about the development and the syntax of the tl (target language) configuration files, you can have a look at the Development page.
|
BrainRelax Sourceforge
Last Updated: 23 July 2001.