Newsgroups: rec.arts.int-fiction
Path: news.duke.edu!newsgate.duke.edu!nntp-out.monmouth.com!newspeer.monmouth.com!newsfeed.icl.net!newsfeed00.sul.t-online.de!t-online.de!codeine.org!diablo.netcom.net.uk!netcom.net.uk!news-hub.cableinet.net!uunet!ffx.uu.net!world!buzzard
From: buzzard@world.std.com (Sean T Barrett)
Subject: Re: [inform] three nouns and abusing AND
Message-ID: <G4rF3u.CDE@world.std.com>
Date: Wed, 29 Nov 2000 00:09:30 GMT
References: <G4pMxM.9tq@world.std.com> <8vvaur$h10$1@joe.rice.edu>
Organization: The World Public Access UNIX, Brookline, MA
Lines: 25
Xref: news.duke.edu rec.arts.int-fiction:80788

Lucian Paul Smith <lpsmith@rice.edu> wrote:
>[ThirdNoun x;
>   x=NounDomain(player,location,0);
>   if (x==REPARSE_CODE) return x;
>   if (x==0) return -1;
>   third = x;
>   return 0;
>];
>
>   * scope=CanDraw "with" held "on" ThirdNoun           ->Draw3

Aha, I forgot about this ability to just place a function call
as opposed to scope=.  So, yeah, you can use third objects all
you want, but there's no direct support for third objects built
in, but no big deal.

I'm pretty sure the AND is still a problem; I mean, I tested
with a two noun grammar "FOO x AND y" and couldn't get it to
work, because the object-parsing routine looks for ANDs and
fails to parse an object if it sees an AND when parsing a
grammar line that doesn't support multiple objects.  I may
be able to set a flag if it's my verb and slide out of that
cleanly.

SeanB
