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,9222093fc7fb4ecb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-03 12:47:56 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: dewar@gnat.com (Robert Dewar) Newsgroups: comp.lang.ada Subject: Re: About Interfacing Ada to other languages. Date: 3 Aug 2001 12:47:55 -0700 Organization: http://groups.google.com/ Message-ID: <5ee5b646.0108031147.e38dbb2@posting.google.com> References: NNTP-Posting-Host: 205.232.38.244 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 996868076 7404 127.0.0.1 (3 Aug 2001 19:47:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 3 Aug 2001 19:47:56 GMT Xref: archiver1.google.com comp.lang.ada:11259 Date: 2001-08-03T19:47:56+00:00 List-Id: Didier Utheza wrote in message news:... > Hello everyone, > I would like to interface Ada to Prolog and Eiffel. I cannot find extended > information on the topic besides the ref. manual (its reading is more for > knowledgeable people on the subject). Can anyone orient me toward some > documentations or books to consult? > Thanks in advance. > Didier Utheza. A general answer to such questions is to find out how you would interface C to the language in question. Most languages have some thoughts about interfacing to C. If interface to C is not possible, then you are not going to get anywhere. If you do know how to interface to C, then just make the Ada code look like C, using pragma Import (C,...) and pragma Export (C,...) as required.