From pmoura@noe.ubi.pt  Thu Feb 10 01:53:04 2000
Received: from fep03-svc.mail.telepac.pt (fep03-svc.mail.telepac.pt [194.65.5.202])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id BAA20359
	for <prolog@swi.psy.uva.nl>; Thu, 10 Feb 2000 01:53:04 +0100 (MET)
Received: from noe.ubi.pt ([194.65.202.53]) by fep03-svc.mail.telepac.pt
          (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
          id <20000210005532.CBZG27722.fep03-svc.mail.telepac.pt@noe.ubi.pt>;
          Thu, 10 Feb 2000 00:55:32 +0000
Message-ID: <38A20C32.82DEB25C@noe.ubi.pt>
Date: Thu, 10 Feb 2000 00:54:18 +0000
From: Paulo Moura <pmoura@noe.ubi.pt>
Reply-To: pmoura@noe.ubi.pt
Organization: University of Beira Interior, Portugal
X-Mailer: Mozilla 4.7 (Macintosh; I; PPC)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Paul Singleton <p.singleton@keele.ac.uk>
CC: SWI Prolog <prolog@swi.psy.uva.nl>
Subject: Re: multiple instances of Prolog
References: <38A1F091.5CBAA9A2@keele.ac.uk>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by swi.psy.uva.nl id BAA20359


Paul Singleton wrote:
> 
> Can we create, from foreign code, multiple instances of SWI-Prolog
> with independent databases, or can we achieve the same effect somehow
> with modules?

You can achieve the same effect, in a probably more portable way than
using modules, by using Logtalk, my object-oriented extension to Prolog:

	http://www.ci.uc.pt/logtalk/logtalk.html
 
Regards,

Paulo


-----------------------------------------------------------
Paulo Jorge Lopes de Moura
Dep. of Mathematics and Informatics   Office 4.32 Ext. 3251
University of Beira Interior          Phone: +351 275319700
6200 Covilhã                          Fax:   +351 275319732
Portugal

mailto:pmoura@noe.ubi.pt
http://www.ci.uc.pt/logtalk/pmoura.html
-----------------------------------------------------------

