<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Highlighting code on WordPress</title>
	<atom:link href="http://www.mailund.dk/index.php/2009/01/20/highlighting-code-on-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mailund.dk/index.php/2009/01/20/highlighting-code-on-wordpress/</link>
	<description>Computer science, bioinformatics, genetics, and everything in between</description>
	<lastBuildDate>Fri, 19 Aug 2011 16:35:39 +0200</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Thomas Mailund</title>
		<link>http://www.mailund.dk/index.php/2009/01/20/highlighting-code-on-wordpress/comment-page-1/#comment-2348</link>
		<dc:creator>Thomas Mailund</dc:creator>
		<pubDate>Mon, 26 Jan 2009 05:41:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mailund.dk/?p=701#comment-2348</guid>
		<description>Thomas:

I don&#039;t think it is necessary to do any parsing of the C++ to highlight it.  I agree that parsing templates is non-trivial, but not that it is needed at all for this.

I wrote my own highlighter (as a GTK+ widget) many years ago, and I never needed more than a bit of regexp matching for comments and strings and simple word recognition for keywords.

As for the FAQ item, I appreciate the link, but I am not really confused by that particular problem any more, having run into it more than once in the past :)

It &lt;em&gt;is&lt;/em&gt; one of the more confusing errors to run into, though, similar to the typename issue I wrote about a few days ago.</description>
		<content:encoded><![CDATA[<p>Thomas:</p>
<p>I don&#8217;t think it is necessary to do any parsing of the C++ to highlight it.  I agree that parsing templates is non-trivial, but not that it is needed at all for this.</p>
<p>I wrote my own highlighter (as a GTK+ widget) many years ago, and I never needed more than a bit of regexp matching for comments and strings and simple word recognition for keywords.</p>
<p>As for the FAQ item, I appreciate the link, but I am not really confused by that particular problem any more, having run into it more than once in the past :)</p>
<p>It <em>is</em> one of the more confusing errors to run into, though, similar to the typename issue I wrote about a few days ago.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Jahns</title>
		<link>http://www.mailund.dk/index.php/2009/01/20/highlighting-code-on-wordpress/comment-page-1/#comment-2343</link>
		<dc:creator>Thomas Jahns</dc:creator>
		<pubDate>Sun, 25 Jan 2009 20:08:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.mailund.dk/?p=701#comment-2343</guid>
		<description>That&#039;s simply because C++ template syntax is very complicated and non-trivial to parse. Everytime someone here is stumped by his or her inability to understand what the compiler is trying to tell him or her, I advise them to have a look at the C++ FQA, e.g.:

http://yosefk.com/c++fqa/ctors.html#fqa-10.19

That doesn&#039;t necessarily make people better at programming in C++, but at least potentially happier  and less confused programmers when it comes to reasonable expections of what C++ can do for them.</description>
		<content:encoded><![CDATA[<p>That&#8217;s simply because C++ template syntax is very complicated and non-trivial to parse. Everytime someone here is stumped by his or her inability to understand what the compiler is trying to tell him or her, I advise them to have a look at the C++ FQA, e.g.:</p>
<p><a href="http://yosefk.com/c++fqa/ctors.html#fqa-10.19" rel="nofollow">http://yosefk.com/c++fqa/ctors.html#fqa-10.19</a></p>
<p>That doesn&#8217;t necessarily make people better at programming in C++, but at least potentially happier  and less confused programmers when it comes to reasonable expections of what C++ can do for them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Mailund</title>
		<link>http://www.mailund.dk/index.php/2009/01/20/highlighting-code-on-wordpress/comment-page-1/#comment-2300</link>
		<dc:creator>Thomas Mailund</dc:creator>
		<pubDate>Wed, 21 Jan 2009 05:24:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.mailund.dk/?p=701#comment-2300</guid>
		<description>I might be able to.  I don&#039;t know.  By the time I got to google syntax highlighter I was sufficiently pissed off that I didn&#039;t bother trying to fiddle with it, but just moved on to the next plug in ...</description>
		<content:encoded><![CDATA[<p>I might be able to.  I don&#8217;t know.  By the time I got to google syntax highlighter I was sufficiently pissed off that I didn&#8217;t bother trying to fiddle with it, but just moved on to the next plug in &#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anders</title>
		<link>http://www.mailund.dk/index.php/2009/01/20/highlighting-code-on-wordpress/comment-page-1/#comment-2298</link>
		<dc:creator>Anders</dc:creator>
		<pubDate>Tue, 20 Jan 2009 22:54:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.mailund.dk/?p=701#comment-2298</guid>
		<description>Are you sure you can&#039;t modify the css for the google syntax highlighter, to make it look a way you like?</description>
		<content:encoded><![CDATA[<p>Are you sure you can&#8217;t modify the css for the google syntax highlighter, to make it look a way you like?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

