Mercurial > repo
view src/ploki/examples/fact.pk @ 12296:042127c1c142 draft
<fizzie> ` rm /hackenv/bin/bfi; ln -s /hackenv/lib/kps/bfi /hackenv/bin/bfi # no need for actual copies that you can forget to delete though
author | HackEso <hackeso@esolangs.org> |
---|---|
date | Sat, 04 Jan 2020 13:28:36 +0000 |
parents | ac0403686959 |
children |
line wrap: on
line source
#!../ploki LET n \ARG:1 FOR $main$1$loop LET x @kt n LET n n/x "\Vx " IF @NOT(n > 1) " END FI NEXT $main$1$loop FOR kt LEET i 2 FOR kt$1$loop IF \@ / 2 < i KTHX \@ FI IF \@ % i = 0 KTHX i FI LET i i + 1 NEXT kt$1$loop