Mercurial > repo
view ploki/examples/fibcheck.pk @ 4215:7a6bc310b732
<shachaf> tar xjf ploki-0.6.5.1.tar.bz2
author | HackBot |
---|---|
date | Fri, 20 Dec 2013 22:04:38 +0000 |
parents | |
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