Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site uwvax.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!uwvax!anderson From: anderson@uwvax.UUCP (David P. Anderson) Newsgroups: net.lang.forth Subject: questions about multiple vocabularies Message-ID: <132@uwvax.UUCP> Date: Wed, 27-Feb-85 01:52:26 EST Article-I.D.: uwvax.132 Posted: Wed Feb 27 01:52:26 1985 Date-Received: Fri, 1-Mar-85 06:50:52 EST Distribution: net Organization: U of Wisconsin CS Dept Lines: 19 <> 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 )