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 16:39:44 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!news.bu.edu!acstmp.bu.edu!ddutheza From: Didier Utheza Newsgroups: comp.lang.ada Subject: Re: About Interfacing Ada to other languages. Date: Mon, 30 Jul 2001 19:39:41 -0400 Organization: Boston University Message-ID: References: <9k4in0$e52$1@news.huji.ac.il> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news3.bu.edu 996536384 5342 128.197.153.25 (30 Jul 2001 23:39:44 GMT) X-Complaints-To: news@bu.edu In-Reply-To: <9k4in0$e52$1@news.huji.ac.il> Xref: archiver1.google.com comp.lang.ada:10796 Date: 2001-07-30T19:39:41-04:00 List-Id: 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.