2 ms·
It 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 brain
by JetSpiegel 12y ago
It 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