Deadfish by ali

-module a.
-export[m/0].
m()->m(0).
m(256)->m(0);m(N)->[C,_]=io:get_chars('',2),case C of $h->k;$i->m(N+1);$dwhen N>0->m(N-1);$d->m(0);$s->m(N*N);$o->erlang:display(N),m(N) end.

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

download

return to the top page