Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!uxc.cso.uiuc.edu!uxc.cso.uiuc.edu!ux1.cso.uiuc.edu!uxa.cso.uiuc.edu!ews00461 From: ews00461@uxa.cso.uiuc.edu Newsgroups: comp.lang.forth Subject: Forth Compilation (again) ? Message-ID: <114600003@uxa.cso.uiuc.edu> Date: 31 Jul 89 19:56:00 GMT Lines: 21 Nf-ID: #N:uxa.cso.uiuc.edu:114600003:000:708 Nf-From: uxa.cso.uiuc.edu!ews00461 Jul 31 14:56:00 1989 I posted this question a while ago, and not even "jax" responded, so I'll try it again... I've seen Forth systems that generate object code. How is usually done ? Inline code ? Lots of jsr (subroutine calls) ? Are they simply using the dictionary as a "symbol table" ? I'm interested in any discussion at all on this, if you don't know how it IS done, how would you do it ? It seems to me that storing assembler mneumonics for each dictionary word and simply generating inline code would work, but I'm sure there are other algortihms. Also, some flexibility is necessary I'm sure because pure inline expansion of all words would yield HUGE code. Any ideas ? Eric W Sink ews00461@uxa.cso.uiuc.edu