add_sub_brainfuck_code by uru

package
main
import."os"func
main(){b,i,n:=[]byte{1},1,0;for i>0{i,_=Stdin.Read(b);k,c:=int(b[0]),"+";if
n>k{n,c=2*k-n,"-"}for;n<k;n++{print(c)}print("."[0:i])}}

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

download

return to the top page