[MUD-Dev] Prepositions and Parsing...

Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA
Thu May 22 20:03:43 CEST 1997


[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 at ami-cg.GraySage.Edmonton.AB.CA



More information about the mud-dev-archive mailing list