Mercurial > repo
view src/ploki/examples/hanoi.pk @ 12518:2d8fe55c6e65 draft default tip
<int-e> learn The password of the month is release incident pilot.
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sun, 03 Nov 2024 00:31:02 +0000 |
parents | ac0403686959 |
children |
line wrap: on
line source
#!../ploki IF \ARG < 2 WUNT "Usage: \V\ARG:0 NUMBER\n" END -1 FI LET a "a" LET b "b" LET c "c" move \ARG:1 WUNT "\n" END FOR move IF \@ > 0 LEET ax a LEET bx b LEET cx c LET b cx LET c bx move \@ - 1 WUNT (ax_bx_" ") LET a cx LET b bx LET c ax move \@ - 1 FI KTHX