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,a490e808ff6bce8b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-04-12 07:39:40 PST Path: archiver1.google.com!postnews1.google.com!not-for-mail From: dennison@telepath.com (Ted Dennison) Newsgroups: comp.lang.ada Subject: Re: How to interface to Prolog? Date: 12 Apr 2002 07:39:40 -0700 Organization: http://groups.google.com/ Message-ID: <4519e058.0204120639.14d4da62@posting.google.com> References: <3cb6a1aa_2@news.tm.net.my> NNTP-Posting-Host: 65.115.221.98 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1018622380 21087 127.0.0.1 (12 Apr 2002 14:39:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 12 Apr 2002 14:39:40 GMT Xref: archiver1.google.com comp.lang.ada:22427 Date: 2002-04-12T14:39:40+00:00 List-Id: Adrian Hoe wrote in message news:<3cb6a1aa_2@news.tm.net.my>... > I would like to call a procedure written in Prolog from Ada or another > way round. I Could not find any information on this. > > One way to resolve this is to write a C-wrapper but I want to do it pure > Ada-Prolog if possible. If you can interface to it from C, you should be able to interface to it from Ada using C convention and import pragmas, no? -- T.E.D. Home - mailto:dennison@telepath.com (Yahoo: Ted_Dennison) Homepage - http://www.telepath.com/dennison/Ted/TED.html