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,3ff38817118c33e X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-29 11:25:28 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!62-36-155-226.dialup.uni2.ES!not-for-mail From: Jano <402450@cepsz.unizar.es> Newsgroups: comp.lang.ada Subject: Re: Automatic generation of C bindings Date: Wed, 29 Aug 2001 20:25:24 +0200 Organization: TruliSoft Corp. Message-ID: References: <3B8A8AA8.9B588C2A@raytheon.com> NNTP-Posting-Host: 62-36-155-226.dialup.uni2.es (62.36.155.226) X-Trace: fu-berlin.de 999109526 2689397 62.36.155.226 (16 [49872]) X-Newsreader: MicroPlanet Gravity v2.30 Xref: archiver1.google.com comp.lang.ada:12572 Date: 2001-08-29T20:25:24+02:00 List-Id: Mark Johnson ha escrito esto previamente: > Good luck on "automatic translation". The best you will get is something > that is "close", but requires a lot of debugging to get it correct. Thanks for your comments. I wasn't expecting to face so hard a problem. > Better yet, if there is some specific Ada to C bindings you are looking > for, ask for that & someone should be able to help you (e.g., Florist > for Posix bindings). My case was easy, in the end. My C sources are mainly #defines of constants. (Ids of resources, for use in Win32). I've write a simple translator (using Ada :) which, for now, suits my needs. But, that has make me think of more general solutions, just in case... ---------------------- Jano 402450@cepsz.unizar.es ----------------------