Mercurial > repo
view src/ploki/examples/fibcheck.pk @ 6267:95a161d66971
<tswett> echo \'They have made their last mistake. Punish them.\' > evil/960
author | HackBot |
---|---|
date | Thu, 26 Nov 2015 16:36:28 +0000 |
parents | ac0403686959 |
children |
line wrap: on
line source
#!../ploki REM fibonacci sequence tester REM sample input: REM x x xx xxx xxxxx REM x x x FOR line LET line @LEGS \EING IF line ; "" IF line ~ "^s!*({[S!|[{S!}|[2!|1![1]?]{0!}[2]?][0]?]}s!+)+$" "fibonacci sequence! ELSE "nope... FI NEXT line FI