From jan@swi.psy.uva.nl  Mon Jun  5 10:24:21 2000
Received: from gollem.swi.psy.uva.nl (root@gollem [145.18.152.30])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id KAA27574;
	Mon, 5 Jun 2000 10:24:21 +0200 (MET DST)
Received: from localhost (localhost [[UNIX: localhost]])
	by gollem.swi.psy.uva.nl (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id KAA27300;
	Mon, 5 Jun 2000 10:24:52 +0200
From: Jan Wielemaker <jan@swi.psy.uva.nl>
Organization: SWI, University of Amsterdam
To: Fred Dushin <fadushin@syr.edu>, fadushin@syr.edu,
        "J.Heinzer" <j.heinzer@bluewin.ch>
Subject: Re: Mac swi Prolog
Date: Mon, 5 Jun 2000 10:19:39 +0200
X-Mailer: KMail [version 1.0.28]
Content-Type: text/plain
Cc: prolog@swi.psy.uva.nl
References: <Pine.LNX.4.21.0006021527070.13354-100000@fadushin.ne.mediaone.net>
In-Reply-To: <Pine.LNX.4.21.0006021527070.13354-100000@fadushin.ne.mediaone.net>
MIME-Version: 1.0
Message-Id: <00060510245204.27098@gollem>
Content-Transfer-Encoding: 8bit

On Fri, 02 Jun 2000, fadushin@syr.edu wrote:
>> Is there any swi Prolog for the Macintosh available? I did a lot of
>> scientific Prolog programming seven years ago. I always had difficulties
>> to find a fast version. During the last few years I didnīt hear anything
>> about Prolog.
>
>A port to MacOS would be difficult, I'd think.  Much easier would be to wait
>a few months for MacOS X Beta and port to that, or port immediately
>to MacOS Server.  Both are BSD-flavored.  But this won't work
>if you need to run it under a "classic" environment.

I don't really think it would be that hard.  Basically all is plain
ANSI-C.  There are two problem areas: the console.  You need to rebind
the Prolog I/O to some character-I/O window.  This is done for plwin.exe
as well, and rather easy.  Second is to deal with memory management for
the stacks.  Various schemas are available, and with good knowledge of
what can be done in MacOS it should not be too hard, provided there is
some way to allocate real big memory chunks (the biggest allocation
contains both the local and global stacks).

	Regards --- Jan

