\ Vocabulary management
+\ Forget word and everything defined after it in compilation dict
: FORGET
- BL WORD FIND >LINK ( find the word, gets the dictionary entry address )
+ BL WORD CURRENT @ FINDVOCAB ( find the word, gets the dictionary entry address )
+
+ 0= if
+ drop exit
+ then
+
+ >link
+
DUP @ LATEST ! ( set LATEST to point to the previous word )
- H ! ( and store H with the dictionary address )
;
: HIDE
DUP @ F_HIDDEN OR SWAP !
;
-: VOCAB>LATEST ( vcfa -- vlatest )
- 1+ @ @ ;
-
\ Create new vocabulary
: VOCABULARY
create 0 ,