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,60e2922351e0e780 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-19 09:29:53 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!elnk-pas-nf1!newsfeed.earthlink.net!pln-e!extra.newsguy.com!lotsanews.com!nf3.bellglobal.com!nf1.bellglobal.com!nf2.bellglobal.com!news20.bellglobal.com.POSTED!not-for-mail From: "Warren W. Gay VE3WWG" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Re-Marketing Ada (was "With and use") References: <3FB0B57D.6070906@noplace.com> <3FB22125.1040807@noplace.com> <3FB3751D.5090809@noplace.com> <3FB8B9BC.5040505@noplace.com> <3FBA1118.4060105@noplace.com> <0fxub.48425$bQ3.12107@nwrdny03.gnilink.net> In-Reply-To: <0fxub.48425$bQ3.12107@nwrdny03.gnilink.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <%xNub.11722$iT4.1347213@news20.bellglobal.com> Date: Wed, 19 Nov 2003 12:15:12 -0500 NNTP-Posting-Host: 198.96.223.163 X-Complaints-To: abuse@sympatico.ca X-Trace: news20.bellglobal.com 1069262075 198.96.223.163 (Wed, 19 Nov 2003 12:14:35 EST) NNTP-Posting-Date: Wed, 19 Nov 2003 12:14:35 EST Organization: Bell Sympatico Xref: archiver1.google.com comp.lang.ada:2680 Date: 2003-11-19T12:15:12-05:00 List-Id: Stephane Richard wrote: > Maybe the Ada folks need to design a C/C++ to Ada > "binder", that is able to reliably take a C/C++ > include file, and generate a spec and body that > can be used by other Ada programs (in thinish > binding mode). > > THIS NEEDS TO BE A STANDARD TOOL, that can be > counted on to work (no tweaking required), > to be consistent, and to be available with > the COMPILER toolset. > > About a month and 1/2 ago, I started a project, I Affectionally call > AdaCREATE (C++ Reverse Engineering Ada Translating Engine) And your first > paragraph here is one of the reasons why. C++ unline C is so different in > minding than Ada (for object structures, includes, and a lot of other stuff > (biting my tongue here, but among other things, the += family of > operators....no comments please ;-). That direct translation from C++ to > Ada is quite simple impossible. .... You're taking the idea much further than I had in mind. The problem I am proposing to be solved is the translation of just the C/C++ header files -- not entire programs or code. The reality of course is that header files can also include code, particularly in macros. But I was trying to gloss over that detail ;-) -- Warren W. Gay VE3WWG http://home.cogeco.ca/~ve3wwg