[net.lang.forth] questions about multiple vocabularies

anderson@uwvax.UUCP (David P. Anderson) (02/27/85)

<>
I have been using nested multiple vocabularies in a large
application to do "data hiding" and enforce modularity.
Because of dependencies, I can't define a whole module at
once, but must mix the definitions of different modules.
This means that doing a "forget" is a tedious thing...
To avoid screwing up the dictionary I must do a bunch of
smaller forgets back to where I want.

This seems like a pretty poor situation.  Does anyone have
or know of a "smart" forget, which will clean up vocabularies
as it goes?  Does Forth83 deal with this problem?  (I am working
in Forth 79).

A related question: I have seen some proposals for multiple
search paths (i.e. several "context" vocabularies).  Does anyone
have code that implements this?  Please mail if it's handy.

David Anderson  ( ..uwvax!anderson )