"Search-order + extensions"

search [ANS]
* DEFINITIONS ( -- )

make the current context-vocabulary the definition-vocabulary,
that is where new names are declared in. see ORDER

FORTH/ANS search (dpANS16.6.1.1180) ordinary primitive

* GET-CURRENT ( -- voc )

return the current definition vocabulary, see DEFINITIONS

FORTH/ANS search (dpANS16.6.1.1643) ordinary primitive

* GET-ORDER ( -- vocn ... voc1 n )

get the current search order onto the stack, see SET-ORDER

FORTH/ANS search (dpANS16.6.1.1647) ordinary primitive

* SEARCH-WORDLIST ( str-ptr str-len voc -- 0 | xt 1 | xt -1 )

almost like FIND or (FIND) -- but searches only the
specified vocabulary.

FORTH/ANS search (dpANS16.6.1.2192) ordinary primitive

* SET-CURRENT ( voc -- )

set the definition-vocabulary. see DEFINITIONS

FORTH/ANS search (dpANS16.6.1.2195) ordinary primitive

* SET-ORDER ( vocn ... voc1 n -- )

set the search-order -- probably saved beforehand using
GET-ORDER

FORTH/ANS search (dpANS16.6.1.2197) ordinary primitive

* WORDLIST ( -- voc )

return a new vocabulary-body for private definitions.

FORTH/ANS search (dpANS16.6.1.2460) ordinary primitive

* ALSO ( -- )

a DUP on the search ORDER - each named vocabulary
replaces the topmost ORDER vocabulary. Using ALSO
will make it fixed to the search-order. (but it is
not nailed in trap-conditions as if using DEFAULT-ORDER )
 order:   vocn ... voc2 voc1 -- vocn ... voc2 voc1 voc1

FORTH/ANS search (dpANS16.6.2.0715) ordinary primitive

* ORDER ( -- )

show the current search-order, followed by
the CURRENT DEFINITIONS vocabulary
and the ONLY base vocabulary

FORTH/ANS search (dpANS16.6.2.1985) ordinary primitive

* PREVIOUS ( -- )

the invers of ALSO , does a DROP on the search ORDER
of vocabularies.
 order: vocn ... voc2 voc1 -- vocn ... voc2 
 example: ALSO PRIVATE-VOC DEFINTIONS (...do some...) PREVIOUS DEFINITIONS

FORTH/ANS search (dpANS16.6.2.2037) ordinary primitive

FORTH-WORDLIST

[] no special info, see general notes

FORTH/ANS search (dpANS16.6.1.1595) loader code P4_DVaL

/* hook to activate pfe extensions: */ FORTH
* DEFAULT-ORDER ( -- )

nail the current search ORDER so that it will even
survive a trap-condition. This default-order can be
explicitly loaded with RESET-ORDER

FORTH/BASE search ordinary primitive

* RESET-ORDER ( -- )

load the DEFAULT-ORDER into the current search ORDER
- this is implicitly done when a trap is encountered.

FORTH/BASE search ordinary primitive

RESET-ORDER-IS

[] no special info, see general notes

FORTH/BASE search threadstate variable

ENVIRONMENT ENVIRONMENT SEARCH-ORDER-EXT

[] no special info, see general notes

ENVIRONMENT search ordinary constant

ENVIRONMENT CHAIN-WORDLISTS

[] no special info, see general notes

ENVIRONMENT search ordinary constant

ENVIRONMENT SEARCH-LOADED

[] no special info, see general notes

ENVIRONMENT search constructor primitive