Mercurial > repo
view src/ploki/examples/fibcheck.pk @ 10276:1b9e4e8dbb85
<oerjan> rm bin/
author | HackBot |
---|---|
date | Wed, 15 Feb 2017 23:59:01 +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