1998Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift) -->
<!--X-From-R13: Dvpuneq Ibbypbpx <YnHveNqvny.cvcrk.pbz> -->
<!--X-Date: Wed, 8 Jul 1998 11:19:47 &#45;0700 -->
<!--X-Message-Id: 35A429C6.69E2#dial,pipex.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199807081115_MC2&#45;527A&#45;CFA2#compuserve,com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (wi</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:KaVir#dial,pipex.com">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00086.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00089.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00085.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00091.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00087">Author</A>
&nbsp;|&nbsp;<A HREF="#00087">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00087">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</LI>
<LI><em>From</em>: Richard Woolcock &lt;<A HREF="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</A>&gt;</LI>
<LI><em>Date</em>: Wed, 08 Jul 1998 19:24:06 -0700</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Richard Bartle wrote:
&gt; 
&gt; Chris Gray &lt;cg#ami-cg,GraySage.Edmonton.AB.CA&gt; wrote:
&gt; 
&gt;  &gt;I don't actually build lists of matching nouns and then restrict based on
&gt;  &gt;adjectives - I do my searching with the adjectives in effect. Consequence:
&gt;  &gt;I don't currently support notions like "all but".
&gt;         This is a good technique for databases in general, as it can mean the
&gt; entire database doesn't get searched twice. In a MUD where locality gives a
&gt; reasonably small data structure, though, it's not a problem.
&gt; 
&gt;  &gt;In "drop rock", it seems MUD2 would drop all rocks.
&gt;         That's right, it would.
&gt; 
&gt;  &gt;What are the choices here:
&gt;  &gt;   - drop all of them
&gt;  &gt;   - complain about ambiguity
&gt;  &gt;   - drop some "random" rock
&gt;  &gt;   - allow the user to choose
&gt;         Of these, the second and fourth get in the way of the game. The real
&gt; choice is between the first and the third. I chose the first because it fell
&gt; naturally from the way I was processing adjectives and so on as operators
&gt; applied to sets of candidate objects. Once players got used to it, switching
&gt; to another version was not an attractive option.
&gt;         If I were to rewrite the parser for a new MUD, though, I think I'd
&gt; take plural forms into account, ie. DROP ROCK drops one, DROP ROCKS drops
&gt; them all. There would have to be some minor messing about for cases like
&gt; DROP EVERYTHING, but nothing intractable.

As limited as my parser is, it *can* handle the above.  The following would
work: "drop knives" (drop all knives), "drop knife" (drop one knife), "drop 
three knives" (drop three knives), "drop three knife" (drop the third knife).

Unfortunately "drop knive" would drop one knife, and "drop knifes" would drop
all knives.  I use "everything" to represent everything you are carrying;
"all" is used only in the context "drop all knives" (which you might as well
use "drop knives" for, now that I think about it).

In another post, Ross Nicoll wrote:
&gt; Fine, until someone wants to drop more than one mouse (well, would you want
&gt; to be wandering around with a load of mice? :) ).

This is something my parser couldn't handle.

&gt; You could have fun with gloves, too; unless you have right glove and left
&gt; glove objects, you're likely to have a "pair of gloves" object.

Nope I have two separate glove objects.  "trousers" are a pain though, although
you could type "get one pair of trousers".

&gt; There's also the possibility of a plural that has an extra "es" instead of
&gt; just "s" on the end, but I can't think of an word to use as an example.

My parser can handle "torches" rather than "torch", but it was a bit hacky to
add.

KaVir.


</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00081" HREF="msg00081.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</A></STRONG>
<UL><LI><EM>From:</EM> Richard Bartle &lt;76703.3042#compuserve,com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00086.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposa</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00089.html">[MUD-Dev] Summary: The Game Design Mailing List "Learning AI" Thread</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00085.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal(with apologies to J. Swift)</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00091.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00087"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00087"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>[MUD-Dev] Re: An Introduction</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<ul compact>
<ul compact>
<LI><strong><A NAME="00803" HREF="msg00803.html">[MUD-Dev] Re: An Introduction</A></strong>, 
Adam J. Thornton <a href="mailto:adam#phoenix,princeton.edu">adam#phoenix,princeton.edu</a>, Sat 22 Aug 1998, 02:53 GMT
</LI>
</ul>
</ul>
</ul>
</ul>
</LI>
<LI><strong><A NAME="00069" HREF="msg00069.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Wed 08 Jul 1998, 02:02 GMT
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00081" HREF="msg00081.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</A></strong>, 
Richard Bartle <a href="mailto:76703.3042#compuserve,com">76703.3042#compuserve,com</a>, Wed 08 Jul 1998, 15:17 GMT
<UL>
<LI><strong><A NAME="00085" HREF="msg00085.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal(with apologies to J. Swift)</A></strong>, 
Ross Nicoll <a href="mailto:rnicoll#calmar-mud,com">rnicoll#calmar-mud,com</a>, Wed 08 Jul 1998, 17:35 GMT
</LI>
<LI><strong><A NAME="00087" HREF="msg00087.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</A></strong>, 
Richard Woolcock <a href="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</a>, Wed 08 Jul 1998, 18:19 GMT
</LI>
<LI><strong><A NAME="00091" HREF="msg00091.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</A></strong>, 
Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Wed 08 Jul 1998, 18:43 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00095" HREF="msg00095.html">[MUD-Dev] Re: (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Thu 09 Jul 1998, 00:56 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00061" HREF="msg00061.html">[MUD-Dev] (fwd) Re: command parsers: a modest proposal (with apologies to J. Swift)</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Tue 07 Jul 1998, 18:14 GMT
<LI><strong><A NAME="00057" HREF="msg00057.html">[MUD-Dev] Re: Ubiquity Scope &amp; Requirements</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Tue 07 Jul 1998, 06:39 GMT
</LI>
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>