1
0
mirror of https://github.com/hsoft/collapseos.git synced 2024-11-05 23:30:54 +11:00
collapseos/blk/433
2020-04-25 21:54:07 -04:00

15 lines
219 B
Plaintext

: LEAVE R> R> DROP I 1- >R >R ;
: ROLL
DUP NOT IF EXIT THEN
1+ DUP PICK ( n val )
SWAP 2 * (roll) ( val )
SWAP DROP
;
: 2DUP OVER OVER ;
: 2OVER 3 PICK 3 PICK ;
: 2SWAP 3 ROLL 3 ROLL ;