Mercurial > repo
view src/ploki/examples/fact.pk @ 8916:0234daffd946
<oerjan> addquote <int-e> I couldn\'t help thinking that maybe if one considers the ramifications in full detail it will turn out that overthinking is often not helpful and therefore, not something to be proud of.
author | HackBot |
---|---|
date | Sun, 14 Aug 2016 02:31:47 +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