git @ Cat's Eye Technologies Vinegar / master eg / fact2.vinegar
master

Tree @master (Download .tar.gz)

fact2.vinegar @masterraw · history · blame

1
2
3
4
5
6
fact =& fac1 fac2;
fac1 =& dup int[0] gt!;
fac2 =| fac3 fac4;
fac3 =& dup int[1] eq!;
fac4 =& pop dup int[1] sub fact mul;
main =& int[5] fact;