[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Thu Mar 18 10:39:25 2004 -->
- <!--x-from-r13: qpunzoref ng ohtsvkre.arg (Rraal Qunzoref) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] [OT] Writing a parser -->
- <li><em>date</em>: Thu Mar 18 10:39:25 2004</li>
- <li><em>from</em>: dchambers at bugfixer.net (Denny Chambers)</li>
- <li><em>in-reply-to</em>: <<a href="msg00657.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00657.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] [OT] Writing a parser</li>
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
><a rel="nofollow" href="http://www.ale.org/mailman/listinfo/ale">http://www.ale.org/mailman/listinfo/ale</a>
>
>
>
>
-------------- 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>