Mercurial > repo
view src/ploki/examples/fibcheck.pk @ 7357:afe910c223a2
<hppavilion[1]> ` sed -i "s/mklang_arry/mklang --array/" wisdom/brainfuck
author | HackBot |
---|---|
date | Sun, 03 Apr 2016 20:27:55 +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