Turing Machine by nn

for($=s=1;it[-$--]=readline(i=114););for(T=[];s*=4;s='0x'+_[s+2]-9)_=it[T[i]|0],T[i]=_[s],i+=_[s+1]<'>'?-1:1;print(T.join(''))

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

download

return to the top page