News for hackers. Stuff that matters.
Re:Brainfuck Optimization Strategies by JetSpiegel on Wednesday January 07, 2015 @11:39AM (#8851481)
http://calmerthanyouare.org/2014/09/30/brainfuck-java.html some of the issues encountered when writing a brainfuck-to-java compiler in brainfuck

Yo dawg, etc

Re:Brainfuck Optimization Strategies by JetSpiegel on Wednesday January 07, 2015 @11:48AM (#8851535)
It gets better

http://awib.googlecode.com/svn/builds/awib-0.4.b

Awib is a brainfuck compiler written in brainfuck. It is also polyglot in bash, Tcl and C

For instance, using gcc, the following will build an executable file called awib from awib-0.2.b.

    $ cp awib-0.2.b awib-0.2.c
    $ gcc awib-0.2.c -o awib.tmp
    $ ./awib.tmp < awib-0.2.b > awib-0.2.c
    $ gcc -O2 awib-0.2.c -o awib
Using bash works fine, but is very very very slow:

    $ (echo "@386_linux"; cat awib.b) | bash awib.b > awib
    $ chmod +x awib
And tcl:

    $ (echo "@386_linux"; cat awib.b) | tclsh awib.b > awib
    $ chmod +x awib