Archive for April, 2009
Brainfuck is one of those turing complete languages that has no apparent use in the real world. But hey, being very very simple with a limited grammar, writing an interpreter should be easy. So here it is, under WTFPL. The code works (I hope so) with the examples from the Wikipedia article.
#include <stdio.h>
#include <error.h>
#include <config.h>
static [...]
Filed under: FOSS and Linux, programming | 7 Comments
Tags: brainfuck, c, compilers, esoteric, interepreter, programming, snippet, wtfpl