1997Q3/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Re: [MUD&#45;Dev] common server design -->
<!--X-From-R13: pynjerapNphc.uc.pbz -->
<!--X-Date: Tue, 12 Aug 1997 17:34:31 +0000 -->
<!--X-Message-Id: 199708121733.KAA24779#xsvr3,cup.hp.com -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: Pine.GSO.3.96.970803152545.27011J&#45;100000@dryslwyn -->
<!--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:clawrenc#cup,hp.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="msg00490.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00492.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00354.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00509.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00491">Author</A>
&nbsp;|&nbsp;<A HREF="#00491">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00491">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>: <A HREF="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</A></LI>
<LI><em>Date</em>: Tue, 12 Aug 97 10:28:54 -0700</LI>
<LI><em>Reply-to</em>: <A HREF="mailto:claw#null,net">claw#null,net</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
In &lt;<A HREF="msg00354.html">Pine.GSO.3.96.970803152545.27011J-100000@dryslwyn</A>&gt;, on 08/03/97 
   at 11:27 AM, Martin Keegan &lt;martin#cam,sri.com&gt; said:

&gt;On Tue, 1 Jul 1997 clawrenc#cup,hp.com wrote:

&gt;&gt; In &lt;33bc2b5e.28988475#relay,mnsinc.com&gt;, on 06/26/97 
&gt;&gt;    at 08:59 AM, caliban#darklock,com (Caliban Tiresias Darklock) said:

&gt;&gt; &gt;cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray) wrote:

&gt;&gt; &gt;I made this exact same observation earlier in the discussion, along
&gt;&gt; &gt;with the associated mention that this precludes the use of spaces in
&gt;&gt; &gt;names. No response was ever made on the matter.
&gt;&gt; 
&gt;&gt; One approach is to make command parsing a question of simple and
&gt;&gt; uniform expression evaluation.  Make the rules simple and easy to
&gt;&gt; learn, and the rest should be almost automatic.  

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

&gt;prompt&gt; how do i fight

&gt;should bring up the appropriate help section.

I don't see that this is an exception to the concept of having user
commands follow a simple and uniform expression syntax.

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

&gt;shoving quotes and equals signs into the syntax are anathema to me.

Agreed.  I'll admit exceptions however for human readability and
disambiguity.

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

&gt;so long as you don't have too many addressable players and monsters
&gt;in the game, the pruning and disambiguation is not all that hard.
&gt;It's worth it though.

The fact that I don't have a global namespace really helps here.

-- 
J C Lawrence                           Internet: claw#null,net
(Contractor)                           Internet: coder#ibm,net
---------------(*)               Internet: clawrenc#cup,hp.com
...Honorary Member Clan McFUD -- Teamer's Avenging Monolith...


</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="00354" HREF="msg00354.html">Re: [MUD-Dev] common server design</A></STRONG>
<UL><LI><EM>From:</EM> Martin Keegan &lt;martin#cam,sri.com&gt;</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00490.html">Re: [MUD-Dev] Graphic MUDS/Ultima Online</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00492.html">NPC Ecologies [was 'New to this mailing list']</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00354.html">Re: [MUD-Dev] common server design</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00509.html">[MUD-Dev] common server design</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00491"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00491"><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="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>
<LI><strong><A NAME="00013" HREF="msg00013.html">Re: [MUD-Dev]  Room-based vs. coordinate-based</A></strong>, 
clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 02 Jul 1997, 03:25 GMT
</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>