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.3 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, REPLYTO_WITHOUT_TO_CC autolearn=no 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 11:19:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!demon!diablo.netcom.net.uk!netcom.net.uk!fr.clara.net!heighliner.fr.clara.net!freenix!enst!enst.fr!not-for-mail From: "Alexandre E. Kopilovitch" Newsgroups: comp.lang.ada Subject: Re: How to interface to Prolog? Date: Fri, 12 Apr 2002 22:26:11 +0400 (MSD) Organization: h w c employees, b f Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: avanie.enst.fr 1018635542 23704 137.194.161.2 (12 Apr 2002 18:19:02 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Fri, 12 Apr 2002 18:19:02 +0000 (UTC) Return-Path: X-Mailer: Mail/@ [v2.44 MSDOS] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.8 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Original-Cc: rhezusfactor@yahoo.com Xref: archiver1.google.com comp.lang.ada:22441 Date: 2002-04-12T22:26:11+04:00 Anatoly Chernyshev wrote: >There is very good yet freely available Prolog package at www.amzi.com, Well, indeed there is quite good thing at www.amzi.com - Amzi Logic Server - a Prolog compiler with more or less comprehensive API. >which includes dll-libraries and several samples of how to interface Amzi >Prolog with other languages (C, Java, VB...) And Delphi. Although those provided there "language binding" are too straightforward (in my opinion). >You may wish to peep into these samples and adapt the library for Ada. Yes, it is definitely possible, I have done that already. > I was planning this for myself a while ago, but had no time yet. I was planning to create Ada bindings for that Amzi Logic Server (and make them publicly available) for about 2 years, and I'm still planning to do so. But for the same reason (deficit of free time), I still didn't complete that work. At this moment I think I have that bindings in a working state, but they weren't tested enough, and the docs are slightly incomplete. I think that the job may be completed in 2 or 3 weeks, but I'm not sure when I can afford such a time for it. Perhaps, in coming May or summer. And I'd like to note here, that in the process of creating those bindings, I became very dissatisfied with the Ada support for the character strings. That poor support appeared to be a major obstacle for the design of the convenient bindings. Alexander Kopilovitch aek@vib.usr.pu.ru Saint-Petersburg Russia