Message-ID: <3D2DF1DA.7020904@csi.com>
Date: Thu, 11 Jul 2002 17:00:10 -0400
From: John Colagioia <JColagioia@csi.com>
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc2) Gecko/20020618 Netscape/7.0b1
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: rec.arts.int-fiction
Subject: Re: Another worm for the NLP can...
References: <Xns924645FEF5002joaomendesnetcabopt@194.65.14.150> <3d2ae2a2@excalibur.gbmtech.net> <%u9X8.277$7W6.234@nwrddc02.gnilink.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: ool-182f30fa.dyn.optonline.net
X-Original-NNTP-Posting-Host: ool-182f30fa.dyn.optonline.net
X-Trace: excalibur.gbmtech.net 1026420791 ool-182f30fa.dyn.optonline.net (11 Jul 2002 16:53:11 -0400)
Organization: ProNet USA Inc.
Lines: 22
X-Authenticated-User: jnc
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!news.maxwell.syr.edu!newsfeed.frii.net!nntp5.savvis.net!uunet!dfw.uu.net!ash.uu.net!excalibur.gbmtech.net
Xref: news.duke.edu rec.arts.int-fiction:106054

L. Ross Raszewski wrote:
[...]
> It occurs that there's a fundamental similarity to a rule-based
> language like prolog and, say, a database language; a query in prolog
> of the form 'is fact x true' basically means 'does there exist an
> entry in my table of rules for this fact', and 'for what values of x
> is this fact true?' is essentially a select operation.  This always
> gets me wonderign if something like PL/SQL could be used for IF --
> obviously, the work involved in making this non-clunky would be
> tremendous, but it does bypass a lot of the things that make IF fit so
> ill-well in more mainstream languages; the weakness of static data
> declaration, the extremely lightweight object model, etc.
> Just a thought.

This is true.  The major problem that I see with something like that
is reloading the entire database to restart the game.  Because if you
don't, then you'll have a game that updates itself every time someone
plays it, which might appeal to some, but...

Hmmm...Object databases, perhaps?  I haven't played with them much,
but an engine that understands OQL or something might be fairly neat.

