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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,26aa6d7095c151 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-22 00:50:04 PST Message-ID: <3DB502CD.2C241CEF@lml.ls.fi.upm.es> Date: Tue, 22 Oct 2002 09:48:29 +0200 From: Manuel Collado X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Porting from Modula-2 to Ada References: <3DAFC542.152C0EE0@lml.ls.fi.upm.es> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 138.100.10.20 X-Trace: 22 Oct 2002 09:45:38 +0100, 138.100.10.20 Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-ge.switch.ch!news.rediris.es!news-2.rediris.es!138.100.251.9.MISMATCH!news.upm.es!138.100.10.20 Xref: archiver1.google.com comp.lang.ada:30016 Date: 2002-10-22T09:48:29+02:00 List-Id: SteveD wrote: > > "Manuel Collado" wrote in message > news:3DAFC542.152C0EE0@lml.ls.fi.upm.es... > [snip] > First: I have translated a significant amount of Pascal code to Ada. From > this experience I would recommend producing a tool to do most of the > translation. I've already done that. > > Making the mapping you just described should be fairly easy for such a tool. > > The only alternate for this implementation that comes to mind is to create > arrays of bytes that alias each structure and passing the alias to Xxx. For > example: > [snip] Thanks for the suggestion. -- To reply by e-mail, please remove the extra dot in the given address: m.collado -> mcollado