Rule 30 by rickrickrick

t=0 s="#"l=io.read().."  "for i=1,#l do t=t*2%8+({[s]=1,[" "]=0})[l:sub(i,i)]io.write(({s,s,s,s})[t]or" ")end

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

download

return to the top page