todd@maccs.dcss.mcmaster.ca (Todd Pfaff) (06/29/90)
To who it may concern: I have been using MPROLOG for a few years and developed various applications in the areas of natural language processing, high-level planning, and code generation using Definite Clause Grammars. I need to link some prolog applications with C (or other procedural languages) routines. Some data will be exchanged between applications developed in C and applications developed in Prolog. Mprolog does not seem to be really flexible and/or efficient for this purpose. I have just got SB-Prolog, a Prolog system for Unix-based systems. After a quick look on the User's Manual, I don't see that much difference about the syntax of the two Prolog systems, but wonder how compatible are the predicates with the same name (semantics). I also wonder how difficult it would be to upgrade Mprolog programs to SB-Prolog. Has anybody performed such comparison and/or upgrade ? As the core of the SB-prolog system is written in C, I assume that calling external C routines with exchanges of data, should not be to difficult. Has anybody tried to link and/or call external C routines within SB-Prolog ? Thank you for sharing with me your experience. Jean-Michel jmr@flex.eng.mcmaster.ca (1) MPROLOG (Modular PROgramming in LOGic) : Prolog system developed at the Institute of Coordination of Computer Techniques (SZKI), Hungary. Supplier : Logicware Inc., Toronto, Canada. (2) SB-Prolog : Prolog system initially developed at SUNY, Stony Brook, USA. It is based on an extension of the Warren Abstract Machine. Version 3.1, public domain, developed at the University of Arizona. -- Todd Pfaff todd@flex.eng.mcmaster.ca ...!uunet!utai!utgpu!maccs!flex!todd