2020-05-15 12:50:14 -04:00
|
|
|
: '? WORD FIND ;
|
2020-05-14 08:50:43 -04:00
|
|
|
: '
|
|
|
|
'? (?br) [ 4 , ] EXIT
|
2020-05-15 12:50:14 -04:00
|
|
|
LIT< (wnf) FIND DROP EXECUTE
|
2020-05-14 08:50:43 -04:00
|
|
|
;
|
|
|
|
: ROLL
|
2020-05-22 13:48:30 -04:00
|
|
|
?DUP NOT IF EXIT THEN
|
2020-05-14 08:50:43 -04:00
|
|
|
1+ DUP PICK ( n val )
|
|
|
|
SWAP 2 * (roll) ( val )
|
2020-05-22 14:03:12 -04:00
|
|
|
NIP ;
|
2020-05-14 08:50:43 -04:00
|
|
|
: 2OVER 3 PICK 3 PICK ;
|
|
|
|
: 2SWAP 3 ROLL 3 ROLL ;
|