2 ms·
http://calmerthanyouare.org/2014/09/30/brainfuck-java.html http://calmerthanyouare.org/2014/09/30/brainfuck-java.html some of the issues encountered when writin
by JetSpiegel 12y ago
http://calmerthanyouare.org/2014/09/30/brainfuck-java.html 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
- JetSpiegel 12y agoIt gets better http://awib.googlecode.com/svn/builds/awib-0.4.b 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