Matthias Schmidt

Philipps University Marburg
Department of Mathematics and Computer Science

University logo

Simple Brainfuck Interpreter

What is brainfuck

Brainfuck is a computer programming language noted for its extreme minimalism. It was designed to challenge and amuse programmers, and is not suitable for practical use. Its name has been variously euphemized.

Nonetheless, like any Turing-complete language, brainfuck is theoretically capable of computing any known computable function or simulating any other computational model, if given an unlimited memory store.

Hello World Example

++++++++++[>++++>++++++++++>+++++++<<<-]
>>>++.<+.+++++++..+++.<++++.<+++[>----<-]>.
>++++++++.--------.+++.------.--------.<<+++[>++++<-]>++.<++++++++++.

Links

Interpreter

This is a little brainfuck Interpreter I wrote at the 21c3 in Berlin. It's written in ANSI C. bfi.c [1.6K]

License

The file is licensed under a BSD style license.

Copyleft (l) 2002-05 by Matthias Schmidt.