<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: TagSoup, meet Parsec!</title>
	<atom:link href="http://therning.org/magnus/archives/367/feed" rel="self" type="application/rss+xml" />
	<link>http://therning.org/magnus/archives/367</link>
	<description>Incoherent mumblings</description>
	<pubDate>Tue, 06 Jan 2009 19:08:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Pepe Iborra</title>
		<link>http://therning.org/magnus/archives/367#comment-140967</link>
		<dc:creator>Pepe Iborra</dc:creator>
		<pubDate>Mon, 11 Aug 2008 13:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=367#comment-140967</guid>
		<description>&lt;p&gt;Is Parsec lazy?
If so, this has potential to be light years better than what the TagTree beta module provides. A teaser:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;childrenP = do
  open@(TagOpen name _) &#60;- tagOpen
  content &#60;- many (many1 tagText &#60;&#124;&#62; childrenP)
  close &#60;- tagCloseName name
  return (open : concat content ++ [close])
&lt;/code&gt;&lt;/pre&gt;
</description>
		<content:encoded><![CDATA[<p>Is Parsec lazy?<br />
If so, this has potential to be light years better than what the TagTree beta module provides. A teaser:</p>
<pre><code>childrenP = do
  open@(TagOpen name _) &lt;- tagOpen
  content &lt;- many (many1 tagText &lt;|&gt; childrenP)
  close &lt;- tagCloseName name
  return (open : concat content ++ [close])
</code></pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitry Golubovsky</title>
		<link>http://therning.org/magnus/archives/367#comment-140748</link>
		<dc:creator>Dmitry Golubovsky</dc:creator>
		<pubDate>Sun, 10 Aug 2008 14:51:03 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=367#comment-140748</guid>
		<description>&lt;p&gt;Interestingly enough, just couple days ago I came to the same combination of TagSoup and Parsec when I needed to parse XML that edoc (Erlang documentation tool) produces. The parser itself is too specialized to use such a large thing as HXT.&lt;/p&gt;

&lt;p&gt;THe sample code is here:&lt;/p&gt;

&lt;p&gt;http://code.haskell.org/yc2erl/Language/Edoc/Xml2Hs/Parser.hs&lt;/p&gt;

&lt;p&gt;and the data structures it creates are defined here:&lt;/p&gt;

&lt;p&gt;http://code.haskell.org/yc2erl/Language/Edoc/Xml2Hs/Type.hs&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Interestingly enough, just couple days ago I came to the same combination of TagSoup and Parsec when I needed to parse XML that edoc (Erlang documentation tool) produces. The parser itself is too specialized to use such a large thing as HXT.</p>
<p>THe sample code is here:</p>
<p><a href="http://code.haskell.org/yc2erl/Language/Edoc/Xml2Hs/Parser.hs" rel="nofollow">http://code.haskell.org/yc2erl/Language/Edoc/Xml2Hs/Parser.hs</a></p>
<p>and the data structures it creates are defined here:</p>
<p><a href="http://code.haskell.org/yc2erl/Language/Edoc/Xml2Hs/Type.hs" rel="nofollow">http://code.haskell.org/yc2erl/Language/Edoc/Xml2Hs/Type.hs</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Neil Mitchell</title>
		<link>http://therning.org/magnus/archives/367#comment-140580</link>
		<dc:creator>Neil Mitchell</dc:creator>
		<pubDate>Sat, 09 Aug 2008 20:44:50 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=367#comment-140580</guid>
		<description>&lt;p&gt;That is awsome! I will be adding a link to this blog article from the user manual and from the website, well done :-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>That is awsome! I will be adding a link to this blog article from the user manual and from the website, well done <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey O'Connor</title>
		<link>http://therning.org/magnus/archives/367#comment-140430</link>
		<dc:creator>Corey O'Connor</dc:creator>
		<pubDate>Sat, 09 Aug 2008 03:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://therning.org/magnus/?p=367#comment-140430</guid>
		<description>&lt;p&gt;&lt;em&gt;blink&lt;/em&gt;
&lt;em&gt;gears turn&lt;/em&gt;
Brilliant! That's a sweet little hack. :-)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p><em>blink</em><br />
<em>gears turn</em><br />
Brilliant! That&#8217;s a sweet little hack. <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
