1997Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: Magnetic Scrolls' magical parser -->
<!--X-From-R13: Uert [hag <tertNhav&#45;pbea.qrzba.pb.hx> -->
<!--X-Date: from tacitus.globecomm.net [207.51.48.7] by mx3.ibm.net id 862261705.84542&#45;1 Mon Apr 28 21:08:25 1997 -->
<!--X-Message-Id: Pine.LNX.3.91.970428213111.3055C&#45;100000@uni&#45;corn.demon.co.uk -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: 9704272314.7yni@ami&#45;cg.GraySage.Edmonton.AB.CA -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, Magnetic Scrolls' magical parser</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:greg#uni-corn,demon.co.uk">
</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="msg00263.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00265.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00260.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00273.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00264">Author</A>
&nbsp;|&nbsp;<A HREF="#00264">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00264">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Magnetic Scrolls' magical parser</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>: Magnetic Scrolls' magical parser</LI>
<LI><em>From</em>: Greg Munt &lt;<A HREF="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</A>&gt;</LI>
<LI><em>Date</em>: Mon, 28 Apr 1997 21:50:49 +0100 (GMT+0100)</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
On Sun, 27 Apr 1997, Chris Gray wrote:

&gt; [Raz]
&gt; :It even supported the command that Magnetic Scrolls made such a big deal
&gt; :about, namely:
&gt; :  &gt; put the pot plant in the plant pot
&gt; :
&gt; :Though, apparently, there's nothing very complicated about that syntax at
&gt; :all =3D)
&gt; 
&gt; That's pretty straightforward. My 'putIn' verb just tells you that you
&gt; can't put something into itself.

A pot plant is not a plant pot :) Also, the whole 'big deal' about this 
was that 'plant' was able to be used as a verb, a noun *and* an 
adjective, IIRC the input was actually:

	&gt; plant pot plant in plant pot

This sort of complexity seems to be lacking from the current mud 
'mainstream' in its entirety. Most of which I have come across seems to 
be parsing such as:

	*  First word of input is the command, look it up in our hash 
	   table of commands

	*  Call the function corresponding to the command, passing the 
	   rest of the input (ie everything after the first word) as 
           parameters to the function

So, you might have function prototypes for your command functions as: 

	void function (Player player, String parameters);
  
All command functions would have their own parameter parsing algorithms; 
so, for the above example, function 'plant' would be passed 'pot plant in 
plant pot' as its parameters.

This is utterly simplistic, and although quite easy to implement, does 
not make me happy in any way! I've looked about the web for things on 
NLP, but I think I'd need a PhD to understand it all :(

The best I can come up with is to have hash tables of verbs, nouns, 
adjectives, adverbs, etc - but beyond that I'm pretty much lost. Is 
anyone able to give me a few pointers on this? One of my goals is to have 
a parser of *at least* 'Infocom' complexity.

As an aside, does anyone have any comments on the current 
rec.games.mud.design 'thing' now making noises in the newsgroups? My 
original 'analysis' post was really to suggest a new name for rgm.admin, 
because I felt that that was really what it was being used for. I feel 
that if rgm.design were to be created, rgm.admin would become nothing more 
than a cesspit of spam, ads and flamage.

------------------------------------------------------------------------------
        T  H  E     F  R  O  N  T  I  E  R  S     P  R  O  J  E  C  T   
    <A  HREF="http://www.uni-corn.demon.co.uk">http://www.uni-corn.demon.co.uk</A>   <A  HREF="telnet://linux2.cms.shu.ac.uk:9999">telnet://linux2.cms.shu.ac.uk:9999</A>
         I'll stay out of animals' way if they'll stay out of mine 
                        "Hey you, get off my plate"


</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="00290" HREF="msg00290.html">Re: [MUD-Dev]  Magnetic Scrolls' magical parser</A></strong>
<ul compact><li><em>From:</em> clawrenc#cup,hp.com</li></ul>
<li><strong><A NAME="00282" HREF="msg00282.html">Re: [MUD-Dev]  Magnetic Scrolls' magical parser</A></strong>
<ul compact><li><em>From:</em> Shawn Halpenny &lt;malachai#iname,com&gt;</li></ul>
<li><strong><A NAME="00273" HREF="msg00273.html">Re: [MUD-Dev]  Magnetic Scrolls' magical parser</A></strong>
<ul compact><li><em>From:</em> Adam Wiggins &lt;nightfall#inficad,com&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00260" HREF="msg00260.html">Re: [MUD-Dev]	(fwd) Re: Issues from the digests and Wout's list</A></STRONG>
<UL><LI><EM>From:</EM> cg#ami-cg,GraySage.Edmonton.AB.CA (Chris Gray)</LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00263.html">Re: [MUD-Dev]  Re: Combat</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00265.html">Re: [MUD-Dev]  Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00260.html">Re: [MUD-Dev]	(fwd) Re: Issues from the digests and Wout's list</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00273.html">Re: [MUD-Dev]  Magnetic Scrolls' magical parser</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00264"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00264"><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]  Re: Combat</STRONG>, <EM>(continued)</EM>
<ul compact>
<LI><strong><A NAME="00278" HREF="msg00278.html">Re: [MUD-Dev]  Re: Combat</A></strong>, 
Jeff Kesselman <a href="mailto:jeffk#tenetwork,com">jeffk#tenetwork,com</a>, Tue 29 Apr 1997, 16:15 GMT
</LI>
<LI><strong><A NAME="00297" HREF="msg00297.html">Re: [MUD-Dev]  Re: Combat</A></strong>, 
Travis Casey <a href="mailto:casey#NU,cs.fsu.edu">casey#NU,cs.fsu.edu</a>, Wed 30 Apr 1997, 09:19 GMT
</LI>
<LI><strong><A NAME="00299" HREF="msg00299.html">Re: [MUD-Dev]  Re: Combat</A></strong>, 
Travis Casey <a href="mailto:casey#NU,cs.fsu.edu">casey#NU,cs.fsu.edu</a>, Wed 30 Apr 1997, 09:48 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00260" HREF="msg00260.html">Re: [MUD-Dev]	(fwd) Re: Issues from the digests and Wout's list</A></strong>, 
Chris Gray <a href="mailto:cg#ami-cg,GraySage.Edmonton.AB.CA">cg#ami-cg,GraySage.Edmonton.AB.CA</a>, Mon 28 Apr 1997, 05:10 GMT
<UL>
<LI><strong><A NAME="00264" HREF="msg00264.html">Magnetic Scrolls' magical parser</A></strong>, 
Greg Munt <a href="mailto:greg#uni-corn,demon.co.uk">greg#uni-corn,demon.co.uk</a>, Tue 29 Apr 1997, 04:08 GMT
<UL>
<LI><strong><A NAME="00273" HREF="msg00273.html">Re: [MUD-Dev]  Magnetic Scrolls' magical parser</A></strong>, 
Adam Wiggins <a href="mailto:nightfall#inficad,com">nightfall#inficad,com</a>, Tue 29 Apr 1997, 11:46 GMT
<UL>
<LI><strong><A NAME="00286" HREF="msg00286.html">Re: [MUD-Dev]  Magnetic Scrolls' magical parser</A></strong>, 
Nathan Yospe <a href="mailto:yospe#hawaii,edu">yospe#hawaii,edu</a>, Wed 30 Apr 1997, 00:32 GMT
</LI>
<LI><strong><A NAME="00307" HREF="msg00307.html">Re: [MUD-Dev]  Magnetic Scrolls' magical parser</A></strong>, 
Ling <a href="mailto:K.L.Lo-94#student,lut.ac.uk">K.L.Lo-94#student,lut.ac.uk</a>, Fri 02 May 1997, 20:35 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00282" HREF="msg00282.html">Re: [MUD-Dev]  Magnetic Scrolls' magical parser</A></strong>, 
Shawn Halpenny <a href="mailto:malachai#iname,com">malachai#iname,com</a>, Tue 29 Apr 1997, 20:49 GMT
</LI>
</UL>
</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>