[Home] [Groups] - Message: [Prev in Group] [Next in Group]
1650: Re: [MUD-Dev] Prepositions and Parsing...
[Full Header] [Plain Text]
From: "Chris Gray" <cg@ami-cg.GraySage.Edmonton.AB.CA>
Newsgroups: nu.kanga.list.mud-dev
Date: Thu, 22 May 97 20:03:43 MST
Organization: Kanga.Nu
[Greg:]
:[many arguments on how to clarify a prepositional statement]
:
:A thought I had...
:
:parse each statement into a default interpretation. if the players wish to
:override that, they can use parentheses. For example:
:
:>put the book on the rug behind the pillar.
:
:Default parsing:
:
:put (the book) on (the rug behind the pillar).
:
:the player could, however, explicitly override that with:
:
:>put (the book on the rug) behind (the pillar)
:
:or whatever.
Hmmm. Intriguing. Not really all that hard - if the paren's don't match
up, you just complain and abandon the command. It's a bit unnatural, but
that doesn't really bother me that much.
--
Chris Gray cg@ami-cg.GraySage.Edmonton.AB.CA