Factoradic Decoder by yvl

#!ruby -nl
a=i=0
j=1
a+=(C-?0)*j*=i while C=$_[~i+=1]
p a

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

download

return to the top page