Basic Brainfuck Code Optimization by llhuii

main(i){char*p,*q;for(;gets(p=q=&i);puts())for(;*p++;)16-*p/8*2^*p^*q?*++q=*p:q--;}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page