MUD-Dev
mailing list archive
[ Other Periods
| Other mailing lists
| Search
]
Date:
[ Previous
| Next
]
Thread:
[ Previous
| Next
]
Index:
[ Author
| Date
| Thread
]
Prepositions and Parsing...
[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.
It may be possible to leave off one set of parentheses. 's about the only way
I can think of to allow the players to input clear statements, short of
requiring proper english form.
It would require your parser to handle all the nasty errors that can happen
with mismatched and ill-placed parentheses tho...
Of course, you could also have the parser figgure out all possible
combinations of parentheses and have one of those nasty, nested prompts ask
them which one they meant. :)
-Greg
- Thread context:
- Re: [MUD-Dev] Alright... IF your gonan do DESIESE..., (continued)
- Prepositions and Parsing...,
S001GMU S001GMU#nova,wright.edu, Thu 22 May 1997, 01:04 GMT
- DB lock and MT models,
clawrenc clawrenc#cup,hp.com, Wed 21 May 1997, 00:30 GMT
- Re: [MUD-Dev] Re: Resets and repops,
Chris Gray cg#ami-cg,GraySage.Edmonton.AB.CA, Tue 20 May 1997, 21:47 GMT
[ Other Periods
| Other mailing lists
| Search
]