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-07-30 17:01:25 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!feed2.news.rcn.net!rcn!chnws02.mediaone.net!chnws06.ne.mediaone.net!24.128.8.202!typhoon.ne.mediaone.net.POSTED!not-for-mail Message-ID: <3B65F5A5.E6921C35@mediaone.net> From: Ed Falis X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3 i686) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: About Interfacing Ada to other languages. References: <9k4in0$e52$1@news.huji.ac.il> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 31 Jul 2001 00:01:22 GMT NNTP-Posting-Host: 65.96.132.248 X-Complaints-To: abuse@mediaone.net X-Trace: typhoon.ne.mediaone.net 996537682 65.96.132.248 (Mon, 30 Jul 2001 20:01:22 EDT) NNTP-Posting-Date: Mon, 30 Jul 2001 20:01:22 EDT Organization: Road Runner Xref: archiver1.google.com comp.lang.ada:10797 Date: 2001-07-31T00:01:22+00:00 List-Id: You might look into putting together an Ada binding to SWIG (do a net search). It's been used with other languages for this purpose. - Ed \Didier Utheza wrote: > > Thanks for your answer Ehud, > My wish would be to be able to call directly a Prolog module from an ada > system without having to deal with a C interface. By that I mean using a > Prolog module called from an Ada system that would be able to exchange > information with it. This should be possible in theory since there are > interfaces with Fortran and Cobol. One of the advantage of an Ada/Prolog > system is (if I can say) to give a mind to a body. > A similar thing is hapening with java/Prolog as you said but it is > more network oriented if i understood well. In our case, the goal would be > to create simple models of living systems. From what you said, it looks > like the simple solution would be to pass through a c interface since, for > example, SWI-prolog is ready for it. But it would be nice one day to be > able not to use c for such work. Interfacing between two different code is > difficult enough without having to introduce the criptic aspect of c. > I have at my disposition Feldman and Koffman 's Ada95 book as well as > Barnes'book, but the topic of language interfacing is beyond them. > Thanks again anyway. > Didier Utheza.