Article View: comp.lang.prolog
Article #929MProlog vs. SB-Prolog
From: Todd Pfaff
Date: Thu, 28 Jun 1990 20:52
Date: Thu, 28 Jun 1990 20:52
40 lines
2190 bytes
2190 bytes
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
Technical Details
Message-ID:
<268A6DFB.7501@maccs.dcss.mcmaster.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!maccs!maccs.dcss.mcmaster.ca!toddShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!torsqnt!geac!maccs!maccs.dcss.mcmaster.ca!todd From: todd@maccs.dcss.mcmaster.ca (Todd Pfaff) Newsgroups: comp.lang.prolog Subject: MProlog vs. SB-Prolog Message-ID: <268A6DFB.7501@maccs.dcss.mcmaster.ca> Date: 28 Jun 90 20:52:10 GMT Sender: todd@maccs.dcss.mcmaster.ca (Todd Pfaff) Organization: McMaster University, Hamilton, Ontario, Canada Lines: 40