Path: utzoo!mnetor!uunet!husc6!rutgers!iuvax!pur-ee!uiucdcs!uiucdcsb!mccaugh From: mccaugh@uiucdcsb.cs.uiuc.edu Newsgroups: comp.lang.c Subject: Re: Pascal -> C translater Message-ID: <165600033@uiucdcsb> Date: 27 Dec 87 08:03:00 GMT References: <799@ima.ISC.COM> Lines: 10 Nf-ID: #R:ima.ISC.COM:-79900:uiucdcsb:165600033:000:693 Nf-From: uiucdcsb.cs.uiuc.edu!mccaugh Dec 27 02:03:00 1987 What? No description of the translation? Just curious as to what one should expect from such translation, as it proceeds from a totally block-structured (but not necessarily separate-compilable) language to a non-block-structured (but independently-compilable) language. My guess is that in going from P to C, internal routines must get their environment preserved -- presumably -- by "struct's", which carry externally-known identifiers inward; otherwise, I suspect much indirection on the part of globally-declared pointers playing the role of a 'display'. The only alternative would be much resort to para- meter passing, which overhead I suspect this translator seeks to avoid.