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,LOTS_OF_MONEY autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,32cfbb718858528b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-08 05:04:13 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: Commercial C To Ada 95 compiler Date: 8 Jun 2002 05:04:12 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0206080404.734fc2ad@posting.google.com> References: <3D002D11.CC706952@adaworks.com> <4519e058.0206071148.9b87acf@posting.google.com> <3D0116F3.7254E263@despammed.com> <3D018106.6080004@worldnet.att.net> <3D0184BD.69723B2D@san.rr.com> NNTP-Posting-Host: 205.232.38.247 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1023537853 12062 127.0.0.1 (8 Jun 2002 12:04:13 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 8 Jun 2002 12:04:13 GMT Xref: archiver1.google.com comp.lang.ada:25520 Date: 2002-06-08T12:04:13+00:00 List-Id: "SteveD" wrote in message news:... > "Darren New" wrote in message > news:3D0184BD.69723B2D@san.rr.com... > [snip] > > > > I think there would be more problematic constructs, tho, like static > > variables (inside and/or outside of functions), pointers cast to different > > types, and so on. > > Not really that difficult. Static variables can be handled by nesting > packages... it isn't pretty, but you can get there. This is wrong, you don't need nested packages here. The translation of static variables is straightforward. Part of the trouble with this thread is that it is about solutions, not problems. We really don't know why anyone would want to translate C to Ada, and since this does not make much sense as a solution to any problem, there is too much guessing going on as to the desired nature of the solution :-)