Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!uunet!willett!ForthNet From: ForthNet@willett.UUCP (ForthNet articles from GEnie) Newsgroups: comp.lang.forth Subject: Linking, Modules, and Overlays Message-ID: <499.UUL1.3#5129@willett.UUCP> Date: 18 Feb 90 23:41:57 GMT Organization: Latest link in the ForthNet chain. (Pgh, PA) Lines: 42 Category 3, Topic 11 Message 47 Sat Feb 17, 1990 R.BERKEY [Robert] at 19:00 PST To: David Albert Re: Libraries (vocabularies) > Due to the interpretive nature of TILs, I seem to be having some > trouble implementing libraries. I would like to allow several > libraries (vocabularies) which can be manipulated independently and > linked into my final application. I have read some of the solutions > on late binding, but none I've seen have been satisfactory. Does > anyone have any ideas, hints, etc. Do you know how > anyone else does it? Any advice would be appreciated. As with TIL's, I'm not familiar with what the books have to say on late binding. You might take a look at token threading. For more details, Terry Holmes has reported in a 1983 or 1984 issue of the Journal of Forth Applications and Research (JFAR) on variations, although his code examples are for the 68000. John Bumgarner, mentioned recently on ForthNet, could also provide some information. LIB-FORTH from Mountain View Press (MVP) in Mt. View, CA, has something along the lines of modular vocabularies/libraries, allowing vocabularies such as the assembler in alternate segments. I'm recalling that the access to a word in the vocabulary is done with 4 bytes, and the vocabulary/segment duplicates essential code words. The 1983(?) FORML proceedings has a paper by Glen Haydon on virtual vocabularies. Modular Forth, a commercial system from Microprocessor Engineering (MPE) in Southampton, England, has some fairly advanced solutions. They have a US contact in Rochester, NY, and an interesting product brochure. Robert ----- This message came from GEnie via willett through a semi-automated process. Report problems to: 'uunet!willett!dwp' or 'willett!dwp@gateway.sei.cmu.edu'