Turing Machine by inaniwa

x=4,a=99,l;char c[9][99],m[999];main(y){for(;gets(c[l++]););for(l=a;x<99;m[a]=c[y][x],(a+=c[y][x+1]-61)<l&&l--,x=c[y][x+2]%64*4,y=(m[a]=m[a]?:48)-47);puts(m+l);}

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

download

return to the top page