pforth icon indicating copy to clipboard operation
pforth copied to clipboard

SEARCH-WORDLIST is absent

Open ruv opened this issue 7 years ago • 2 comments

Don't you want to add standard SEARCH-WORDLIST word?

ruv avatar Sep 09 '18 20:09 ruv

It would be neat for pForth to support the optional Search-Order (a.k.a. SEARCH) word set.

For instance, the objects.fs library for object-oriented programming library relies on these such words:

  • GET-ORDER
  • SET-ORDER
  • WORDLIST
  • GET-CURRENT
  • SET-CURRENT

Some relevant links about these words:

  • https://forth-standard.org/standard/search
  • https://forth-standard.org/standard/search/SEARCH-WORDLIST
  • https://gforth.org/manual/Word-Lists.html
  • https://gforth.org/manual/Wordlists-and-Search-Order-Tutorial.html

And some links regarding the objects.fs library for good measure:

  • Source: https://git.savannah.gnu.org/cgit/gforth.git/tree/objects.fs
    • Or on GitHub: https://github.com/forthy42/gforth/blob/master/objects.fs
  • (It also depends on the struct.fs library which is written in ANS Forth and which pForth already bundles)
  • Documentation: https://gforth.org/manual/Objects.html

MaxBarraclough avatar Jul 12 '24 18:07 MaxBarraclough

See also #152

philburk avatar May 11 '25 19:05 philburk