1997Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] common server design -->
<!--X-From-R13: [negva Yrrtna <znegvaNpnz.fev.pbz> -->
<!--X-Date: from babe.globecomm.net [207.51.48.8] by in4.ibm.net id 870632288.55518&#45;1 Sun Aug  3 18:18:08 1997 CUT -->
<!--X-Message-Id: Pine.GSO.3.96.970803152545.27011J&#45;100000@dryslwyn -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 199707012117.OAA13791#xsvr3,cup.hp.com -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Re: [MUD-Dev] common server design</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:martin#cam,sri.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="msg00353.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00355.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00086.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00491.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00354">Author</A>
&nbsp;|&nbsp;<A HREF="#00354">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00354">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: [MUD-Dev] common server design</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#null,net">mud-dev#null,net</A></LI>
<LI><em>Subject</em>: Re: [MUD-Dev] common server design</LI>
<LI><em>From</em>: Martin Keegan &lt;<A HREF="mailto:martin#cam,sri.com">martin#cam,sri.com</A>&gt;</LI>
<LI><em>Date</em>: Sun, 3 Aug 1997 19:17:18 +0100 (BST)</LI>
<LI><em>Reply-To</em>: Martin Keegan &lt;<A HREF="mailto:martin#cam,sri.com">martin#cam,sri.com</A>&gt;</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Tue, 1 Jul 1997 clawrenc#cup,hp.com wrote:

Ok ... one month later, I finally have a chance to reply to some of this
stuff ...

&gt; In &lt;33bc2b5e.28988475#relay,mnsinc.com&gt;, on 06/26/97 
&gt;    at 08:59 AM, caliban#darklock,com (Caliban Tiresias Darklock) said:
&gt; 
&gt; &gt;On Wed, 25 Jun 1997 19:25:38 PST8PDT,
&gt; &gt;cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray) wrote:
&gt; 
&gt; &gt;&gt;Here is one from me: (using pseudo-BNF type stuff)
&gt; &gt;&gt;
&gt; &gt;&gt;    Don't use		page &lt;who&gt; '=' '"' message
&gt; &gt;&gt;    Instead, use	page &lt;who&gt; &lt;message&gt;
&gt; &gt;&gt;	where &lt;message&gt; is the rest of the input line
&gt; 
&gt; &gt;I made this exact same observation earlier in the discussion, along
&gt; &gt;with the associated mention that this precludes the use of spaces in
&gt; &gt;names. No response was ever made on the matter.
&gt; 
&gt; One approach is to make command parsing a question of simple and
&gt; uniform expression evaluation.  Make the rules simple and easy to
&gt; learn, and the rest should be almost automatic.  

Another approach is to model it as closely as possible on natural English,
to the extent that typing in

prompt&gt; how do i fight

should bring up the appropriate help section.
 
&gt; The simplist approach is defining that an ID string is a single
&gt; continuous string of non-white space characters, or a string of any
&gt; characters enclosed by quotes.  Its ugly, but it works.  

shoving quotes and equals signs into the syntax are anathema to me.
 
&gt; More workable, but tougher to implement is automatic attempted parsing
&gt; of names as the command is parsed.  There are obvious ambiguity traps,
&gt; but it can be done.  The rule then becomes: an ID string is defined as
&gt; the shortest possible sequence of tokens in a given command which can
&gt; be used to uniquely identify a an indentity given the command's
&gt; context.  A lot more runtime work, you'll need ambiguity trapping, but
&gt; it also works and works predictably. 

so long as you don't have too many addressable players and monsters in the
game, the pruning and disambiguation is not all that hard. It's worth it
though.
 
&gt; &gt;&gt;This isn't super user friendly, but after a bit of practice isn't bad -
&gt; 
&gt; &gt;It's the user friendliness that I think we need to QUIT IGNORING.
&gt; &gt;We've done it far too long. 
&gt; 
&gt; User friendly for A != user friendly for B.

Hear hear.

Mk




</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00491" HREF="msg00491.html">Re: [MUD-Dev] common server design</A></strong>
<ul compact><li><em>From:</em> clawrenc#cup,hp.com</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00018" HREF="msg00018.html">Re: [MUD-Dev] common server design</A></STRONG>
<UL><LI><EM>From:</EM> clawrenc#cup,hp.com</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00353.html">Re: [MUD-Dev] New Topic: Butthead features</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00355.html">Re: [MUD-Dev]  "short" Introductory Message (fwd)</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00086.html">Re: [MUD-Dev] common server design</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00491.html">Re: [MUD-Dev] common server design</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00354"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00354"><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><A NAME="00020" HREF="msg00020.html">Re: [MUD-Dev]  Hardcore server design</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 02 Jul 1997, 07:36 GMT
<LI><strong><A NAME="00018" HREF="msg00018.html">Re: [MUD-Dev] common server design</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 02 Jul 1997, 04:19 GMT
<UL>
<LI><strong><A NAME="00080" HREF="msg00080.html">Re: [MUD-Dev] common server design</A></strong>, 
Caliban Tiresias Darklock <a href="mailto:caliban#darklock,com">caliban#darklock,com</a>, Sun 06 Jul 1997, 00:59 GMT
<UL>
<LI><strong><A NAME="00086" HREF="msg00086.html">Re: [MUD-Dev] common server design</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 08 Jul 1997, 02:53 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00354" HREF="msg00354.html">Re: [MUD-Dev] common server design</A></strong>, 
Martin Keegan <a href="mailto:martin#cam,sri.com">martin#cam,sri.com</a>, Mon 04 Aug 1997, 01:18 GMT
<UL>
<LI><strong><A NAME="00491" HREF="msg00491.html">Re: [MUD-Dev] common server design</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 12 Aug 1997, 17:34 GMT
</LI>
</UL>
</LI>
</UL>
<UL>
<li>&lt;Possible follow-up(s)&gt;<br>
<LI><strong><A NAME="00509" HREF="msg00509.html">[MUD-Dev] common server design</A></strong>, 
Cynbe ru Taren <a href="mailto:cynbe#laurel,actlab.utexas.edu">cynbe#laurel,actlab.utexas.edu</a>, Wed 13 Aug 1997, 04:54 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00015" HREF="msg00015.html">Re: [MUD-Dev]  noise</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 02 Jul 1997, 03:40 GMT
<UL>
<LI><strong><A NAME="00035" HREF="msg00035.html">Re: [MUD-Dev]  noise</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#user1,inficad.com">nightfall#user1,inficad.com</a>, Wed 02 Jul 1997, 15:55 GMT
</LI>
</UL>
</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>