<!-- MHonArc v2.4.4 --> <!--X-Subject: Re: [MUD-Dev] common server design --> <!--X-From-R13: pynjerapNphc.uc.pbz --> <!--X-Date: from babe.globecomm.net [207.51.48.8] by in11.ibm.net id 867791975.48802-1 Tue Jul 1 21:19:35 1997 CUT --> <!--X-Message-Id: 199707012117.OAA13791#xsvr3,cup.hp.com --> <!--X-Content-Type: text/plain --> <!--X-Reference: 33bc2b5e.28988475#relay,mnsinc.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: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> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] <br clear=all><hr> <!--X-Body-Begin--> <!--X-User-Header--> <!--X-User-Header-End--> <!--X-TopPNI--> Date: [ <a href="msg00017.html">Previous</a> | <a href="msg00019.html">Next</a> ] Thread: [ <a href="msg00020.html">Previous</a> | <a href="msg00080.html">Next</a> ] Index: [ <A HREF="author.html#00018">Author</A> | <A HREF="#00018">Date</A> | <A HREF="thread.html#00018">Thread</A> ] <!--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, 01 Jul 97 14:04:27 -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 <33bc2b5e.28988475#relay,mnsinc.com>, on 06/26/97 at 08:59 AM, caliban#darklock,com (Caliban Tiresias Darklock) said: >On Wed, 25 Jun 1997 19:25:38 PST8PDT, >cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray) wrote: >>Here is one from me: (using pseudo-BNF type stuff) >> >> Don't use page <who> '=' '"' message >> Instead, use page <who> <message> >> where <message> is the rest of the input line >I made this exact same observation earlier in the discussion, along >with the associated mention that this precludes the use of spaces in >names. No response was ever made on the matter. One approach is to make command parsing a question of simple and uniform expression evaluation. Make the rules simple and easy to learn, and the rest should be almost automatic. The simplist approach is defining that an ID string is a single continuous string of non-white space characters, or a string of any characters enclosed by quotes. Its ugly, but it works. More workable, but tougher to implement is automatic attempted parsing of names as the command is parsed. There are obvious ambiguity traps, but it can be done. The rule then becomes: an ID string is defined as the shortest possible sequence of tokens in a given command which can be used to uniquely identify a an indentity given the command's context. A lot more runtime work, you'll need ambiguity trapping, but it also works and works predictably. >>This isn't super user friendly, but after a bit of practice isn't bad - >It's the user friendliness that I think we need to QUIT IGNORING. >We've done it far too long. User friendly for A != user friendly for B. -- 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> <ul compact><li><strong>Follow-Ups</strong>: <ul> <li><strong><A NAME="00354" HREF="msg00354.html">Re: [MUD-Dev] common server design</A></strong> <ul compact><li><em>From:</em> Martin Keegan <martin#cam,sri.com></li></ul> <li><strong><A NAME="00080" HREF="msg00080.html">Re: [MUD-Dev] common server design</A></strong> <ul compact><li><em>From:</em> caliban#darklock,com (Caliban Tiresias Darklock)</li></ul> </UL></LI></UL> <!--X-Follow-Ups-End--> <!--X-References--> <!--X-References-End--> <!--X-BotPNI--> <UL> <LI>Prev by Date: <STRONG><A HREF="msg00017.html">Re: [MUD-Dev] Integrating PK</A></STRONG> </LI> <LI>Next by Date: <STRONG><A HREF="msg00019.html">Re: [MUD-Dev] RP=MUSH/PG=MUD</A></STRONG> </LI> <LI>Prev by thread: <STRONG><A HREF="msg00020.html">Re: [MUD-Dev] Hardcore server design</A></STRONG> </LI> <LI>Next by thread: <STRONG><A HREF="msg00080.html">Re: [MUD-Dev] common server design</A></STRONG> </LI> <LI>Index(es): <UL> <LI><A HREF="index.html#00018"><STRONG>Date</STRONG></A></LI> <LI><A HREF="thread.html#00018"><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>Re: [MUD-Dev] "short" Introductory Message (fwd)</STRONG>, <EM>(continued)</EM> <ul compact> <ul compact> <ul compact> <ul compact> <LI><strong><A NAME="00495" HREF="msg00495.html">Re: [MUD-Dev] "short" Introductory Message (fwd)</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Tue 12 Aug 1997, 19:55 GMT </LI> </ul> </ul> </ul> </ul> </LI> <LI><strong><A NAME="00022" HREF="msg00022.html">Re: [MUD-Dev] Life</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 02 Jul 1997, 07:54 GMT <LI><strong><A NAME="00021" HREF="msg00021.html">Re: [MUD-Dev] Mob AI</A></strong>, clawrenc <a href="mailto:clawrenc#cup,hp.com">clawrenc#cup,hp.com</a>, Wed 02 Jul 1997, 07:50 GMT <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> </LI> </UL></BLOCKQUOTE> </ul> <hr> <center> [ <a href="../">Other Periods</a> | <a href="../../">Other mailing lists</a> | <a href="/search.php3">Search</a> ] </center> <hr> </body> </html>