Hacker News new | ask | show | jobs
by rausr 524 days ago
I work in the same building as Urban Mueller (creator of BF). He told me the point of BF was to implement a compiler ;)
2 comments

You can write a program that takes BF code as input and outputs valid C source that would execute it in less than 20 lines of well formatted ANSI C using nothing more than putchar, getchar, while, pointer inc/dec and dereference, so I can imagine a full compiler for it would be super simple too.

(Though I bet an optimising compiler would be a _little_ more complicated) ;)

He told me its there to import geometry from standard formats into marching cubes and then octrees.