Tower of Hanoi by kozima

(defun h(n a b c)(if(< 0 n)`(,@(h(decf n)a c b),(if(princ a)c),@(h n b a c))))(format t"
~{~A~}"(h(read)'a'b'c))

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

download

return to the top page