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,9e000c01a73c1ff5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-08-16 12:35:16 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!newshub.sdsu.edu!elnk-nf2-pas!elnk-pas-nf1!newsfeed.earthlink.net!newsfeed2.easynews.com!newsfeed1.easynews.com!easynews.com!easynews!pln-e!spln!dex!extra.newsguy.com!newsp.newsguy.com!giga.realtime.net!not-for-mail From: "Ira Baxter" Newsgroups: comp.lang.ada Subject: Re: C++ pragmas Date: Sat, 16 Aug 2003 14:22:37 -0500 Organization: http://extra.newsguy.com Message-ID: <3f3e8357$1@giga.realtime.net> References: NNTP-Posting-Host: p-345.newsdawg.com X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Original-NNTP-Posting-Host: t1-30.realtime.net X-Original-Trace: 16 Aug 2003 14:17:43 -0500, t1-30.realtime.net Xref: archiver1.google.com comp.lang.ada:41608 Date: 2003-08-16T14:22:37-05:00 List-Id: wrote in message news:bha050$11pc$1@news.kiev.sovam.com... > Hi, > > Reading GNAT Reference manual about pragma CPP_Constructor I found: > > "Pragma `CPP_Constructor' is intended primarily for automatic > generation using an automatic binding generator *tool*." > > Where is such tool? Is it free available? > What other Ada compiler supports C++ interfacing? I don't know of such a tool off the shelf. However, one could build such a tool with the DMS Software Reengineering Toolkit. (See http://www.semanticdesigns.com/Products/DMS/DMSToolkit.html). It is as to parse/process both Ada and C++, and could be configured to parse Ada, extract Ada function/package signatures, and generate the corresponding C++ interfaces, or vice versa. This isn't a weekend project, but if you had a lot of interfaces, it would be a definite long term gain. YMMV. -- Ira D. Baxter, Ph.D., CTO 512-250-1018 Semantic Designs, Inc. www.semdesigns.com