From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9d929352a358ccab X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!trndny07.POSTED!0e8a908a!not-for-mail From: Hyman Rosen User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada to C++ translator References: <1138132539.577082.206380@g43g2000cwa.googlegroups.com> <1138540199.483429.92900@z14g2000cwz.googlegroups.com> <1138549435.017429.27810@g49g2000cwa.googlegroups.com> In-Reply-To: <1138549435.017429.27810@g49g2000cwa.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Mon, 30 Jan 2006 05:32:27 GMT NNTP-Posting-Host: 71.249.7.19 X-Complaints-To: abuse@verizon.net X-Trace: trndny07 1138599147 71.249.7.19 (Mon, 30 Jan 2006 00:32:27 EST) NNTP-Posting-Date: Mon, 30 Jan 2006 00:32:27 EST Xref: g2news1.google.com comp.lang.ada:2704 Date: 2006-01-30T05:32:27+00:00 List-Id: jimmaureenrogers@worldnet.att.net wrote: > The data sheet does not indicate how nested subprograms or packages > are translated. Back in the day, I wrote a translator between two hardware description languages. The source has nested subprograms and the target did not. I did it by wrapping all the local variables of subprograms into a record and maintaining a display as an array of pointers to these records.