Move To Front Encode by clock

procedure main()
s:=&digits
while s:=s[n:=find(reads(),s)]||s[1:n]||s[2+writes(n-1):0]
end

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

download

return to the top page