Turing Machine by rst76

main=interact$f""1 2.map words.lines
f s i j m|j<2=s|0<1=f(take(i-1)s++a:drop i s)(max i 1+b%61)(c%63)m where[a,b,c]=m!!(('0':s++"0")!!i%47)!!j
n%i=fromEnum n-i

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

download

return to the top page