[MUD-Dev] Prepositions and Parsing...
cg at ami-cg.GraySage.Edmonton.AB.CA
Thu May 22 20:03:43 New Zealand Standard Time 1997
:[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.
: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)
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