[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



Denny

Kevin Krumwiede wrote:

>I am working on a program to capture data from a MUD (actually, TW2002).
> I've looked at the source for a couple parsers, including one made
>specifically for that game, but because they are generated code I'm
>having a lot of difficulty understanding how they work.  
>
>The gist of what I do understand is this (and somebody please tell me if
>I'm wrong): parsers generally take a string of text and return a numeric
>code signifying what pattern (if any) the text matches.  A program can
>then use that code to decide how to process the text.  I assume that
>sophisticated parsers take into account the preceding context of the
>text when evaluating its pattern.
>
>I am completely lost when it comes to the input languages of parser
>generators.  Anyone know of a good tutorial?
>
>Thanks,
>Krum
>_______________________________________________
>Ale mailing list
>Ale at ale.org
&gt;<a  rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale";>http://www.ale.org/mailman/listinfo/ale</a>
&gt;
&gt;
&gt;  
&gt;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3190 bytes
Desc: S/MIME Cryptographic Signature



</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="00657" href="msg00657.html">[ale] [OT] Writing a parser</a></strong>
<ul><li><em>From:</em> kjkrum at comcast.net (Kevin Krumwiede)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00666.html">{Spam?} Re: [ale] {Spam?} spam flood</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00668.html">{Spam?} Re: [ale] {Spam?} spam flood</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00663.html">[ale] [OT] Writing a parser</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00677.html">[ale] [OT] Writing a parser</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00667"><strong>Date</strong></a></li>
<li><a href="threads.html#00667"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>