Basic Brainfuck Code Optimization by hallvabo

import os,re;s=os.read(0,4005);exec"s=re.sub('\+-|-\+|<>|><','',s);"*5;print s

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

download

return to the top page