bd38d80f9c
and renamed it "Core words". Also, reworded the presentation.
14 lines
207 B
Plaintext
14 lines
207 B
Plaintext
: BLK! ( -- )
|
|
BLK> @ BLK!* @ EXECUTE
|
|
0 BLKDTY !
|
|
;
|
|
: FLUSH BLKDTY @ IF BLK! THEN ;
|
|
: BLK@ ( n -- )
|
|
FLUSH
|
|
DUP BLK> @ = IF DROP EXIT THEN
|
|
DUP BLK> ! BLK@* @ EXECUTE
|
|
;
|
|
|
|
: BLK!! 1 BLKDTY ! ;
|
|
|