VB Brainfuck

About

Dominik Müller developed Brainfuck in 1993 on a Commodore Amiga with the goal of programming the smallest possible compiler. In fact he managed to program this compiler in less then 200 bytes!

Brainfuck only has 8 instructions and uses 30000 Bytes of memory.

+ Increase memory unit at Pointer by 1
- Decrease memory unit at Pointer by 1
> Increase Pointer by 1
< Decrease Pointer by 1
[ Start Loop if memory unit at Pointer is bigger than 0, otherwise continue after ]
] Return to ]
. Print ASCII character of memory unit at Pointer
, Input ASCII character to memory unit at Pointer

History

Read more about Brainfuck and other esoteric languages at Wikipedia:

http://en.wikipedia.org/wiki/Brainfuck

http://en.wikipedia.org/wiki/Esoteric_programming_language

Why Visual Basic?

To show how easy it is to implement Brainfuck in *ANY* language.

The idea came up after reading about esoteric programming languages in the german computer magazine c't (07/22, "Hexenwerk
Ein Plädoyer für esoterische Programmiersprachen" by Oliver Lau)

The good stuff

Download Visual Basic 6 Brainfuck
Download Visual Basic 2005 Express Edition Brainfuck
Download Visual Basic 2005 Express Edition Brainfuck - Shell Version

Comments

Mail me at: vma AT fe DOT up DOT pt