Church Numerals in ski by leonid

#!ruby -n
_="s=xyzx[z][y[z]]}}}
k=xyx}}
i=xx}
p i`[xx+1}][0]"
gsub(/(`*)(.)/){_["`"]="[#$2#$1]"}
eval _.gsub /\w\B/,'proc{|\&|'

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

download

return top