bf256
is a Brainfuck compiler under 256 bytes in size.
It probably only works on OpenBSD/amd64 as-is.
See the blog post.
Just run make
.
$ bf256 < input.bf > output.c
Alternatively:
$ bf256 < input.bf | cc -x c -
Compiler alone:
$ size bf256.o
text data bss dec hex
207 0 0 207 cf
With overhead:
$ size bf256
text data bss dec hex
231 0 0 231 e7
ISC License. See LICENSE
for details.