view src/ploki/examples/mark.pk @ 5829:a062ac5f3fc0

<oerjan> addquote <Jafet> Some people, when confronted with a problem, think "I know, I\'ll use the Banach-Tarski theorem."
author HackBot
date Sat, 11 Jul 2015 03:47:27 +0000
parents ac0403686959
children
line wrap: on
line source

#!../ploki
FOREACH LET$@LEGS\EING
IF$:
END
FIX
IF;\ARG:1
LETO
FOR; LETP $[O~\R\ARG:1
IFP
LET P+O+P
LET$ $]P_"\33[1m\V ($[P]@LENGTH\ARG:1)\033[m"_($[(P+@LENGTH\ARG:1
LETO7+@LENGTH\ARG:1+P
IF$[O;
NEXT;
FISH
FITS
END IF BEGIN ELSE
$
NEXTEACH