<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Helpful syntax errors</title>
	<atom:link href="http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/</link>
	<description>life and tech stuff by Evan Phoenix</description>
	<lastBuildDate>Tue, 24 Aug 2010 02:53:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Diego Scataglini</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-23073</link>
		<dc:creator>Diego Scataglini</dc:creator>
		<pubDate>Tue, 24 Aug 2010 02:53:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-23073</guid>
		<description>Wow just realized how old is this post :D</description>
		<content:encoded><![CDATA[<p>Wow just realized how old is this post <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Diego Scataglini</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-23072</link>
		<dc:creator>Diego Scataglini</dc:creator>
		<pubDate>Tue, 24 Aug 2010 02:50:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-23072</guid>
		<description>That&#039;s awesome, great job. 
I wonder though if it&#039;d be possible and then if it&#039;d be useful if it also printed out the name of the unclosed element like so:

missing ‘end’ for ‘class’ ‘Spaghetti’ started on line 1.

or

missing ‘end’ for ‘class Spaghetti’ started on line 1.

Although easier to read/understand, would that be more helpful or is it superfluous information?</description>
		<content:encoded><![CDATA[<p>That&#8217;s awesome, great job.<br />
I wonder though if it&#8217;d be possible and then if it&#8217;d be useful if it also printed out the name of the unclosed element like so:</p>
<p>missing ‘end’ for ‘class’ ‘Spaghetti’ started on line 1.</p>
<p>or</p>
<p>missing ‘end’ for ‘class Spaghetti’ started on line 1.</p>
<p>Although easier to read/understand, would that be more helpful or is it superfluous information?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jobs In Manchester</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-22820</link>
		<dc:creator>Jobs In Manchester</dc:creator>
		<pubDate>Mon, 02 Aug 2010 10:00:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-22820</guid>
		<description>Seems like only a minor update but it will help the debugging process dramatically. It&#039;s always useful to find the offending piece of code as you&#039;ve hugely reduced the area you&#039;re looking for an error in. I&#039;ve spent hours debugging code ust to find on missing end or an open bracket i forgot to close! So frustrating!
Reece</description>
		<content:encoded><![CDATA[<p>Seems like only a minor update but it will help the debugging process dramatically. It&#8217;s always useful to find the offending piece of code as you&#8217;ve hugely reduced the area you&#8217;re looking for an error in. I&#8217;ve spent hours debugging code ust to find on missing end or an open bracket i forgot to close! So frustrating!<br />
Reece</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yugui</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-20575</link>
		<dc:creator>Yugui</dc:creator>
		<pubDate>Sat, 05 Dec 2009 01:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-20575</guid>
		<description>To Evan and ujihisa,

The patch has already been applied to ruby 1.9.

with -W option, you will get the following messages for the example code.

-:6: warning: mismatched indentations at &#039;end&#039; with &#039;while&#039; at 4
-:7: warning: mismatched indentations at &#039;end&#039; with &#039;def&#039; at 3
-:8: warning: mismatched indentations at &#039;end&#039; with &#039;class&#039; at 2
-:9: syntax error, unexpected $end, expecting keyword_end</description>
		<content:encoded><![CDATA[<p>To Evan and ujihisa,</p>
<p>The patch has already been applied to ruby 1.9.</p>
<p>with -W option, you will get the following messages for the example code.</p>
<p>-:6: warning: mismatched indentations at &#8216;end&#8217; with &#8216;while&#8217; at 4<br />
-:7: warning: mismatched indentations at &#8216;end&#8217; with &#8216;def&#8217; at 3<br />
-:8: warning: mismatched indentations at &#8216;end&#8217; with &#8216;class&#8217; at 2<br />
-:9: syntax error, unexpected $end, expecting keyword_end</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ujihisa</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-20529</link>
		<dc:creator>ujihisa</dc:creator>
		<pubDate>Thu, 03 Dec 2009 20:36:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-20529</guid>
		<description>Hi Evan,

&gt; In the future, it might be possible to try and use indentation to try and narrow down where the missing ‘end’ should be. But for now, every little bit helps.

Logic Junction once made exactly what you want. I saw it at RubyKaigi2007.
http://jp.rubyist.net/RubyKaigi2007/Log0609-LT06.html (ja)
Unfortunately now the patch is unavailable...</description>
		<content:encoded><![CDATA[<p>Hi Evan,</p>
<p>&gt; In the future, it might be possible to try and use indentation to try and narrow down where the missing ‘end’ should be. But for now, every little bit helps.</p>
<p>Logic Junction once made exactly what you want. I saw it at RubyKaigi2007.<br />
<a href="http://jp.rubyist.net/RubyKaigi2007/Log0609-LT06.html" rel="nofollow">http://jp.rubyist.net/RubyKaigi2007/Log0609-LT06.html</a> (ja)<br />
Unfortunately now the patch is unavailable&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wilson Bilkovich</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-20461</link>
		<dc:creator>Wilson Bilkovich</dc:creator>
		<pubDate>Tue, 01 Dec 2009 22:33:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-20461</guid>
		<description>Charles:
That change is from commit 7537128aa905b1721a58c719d25e44604a5ed6fe</description>
		<content:encoded><![CDATA[<p>Charles:<br />
That change is from commit 7537128aa905b1721a58c719d25e44604a5ed6fe</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Charles Oliver Nutter</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-20436</link>
		<dc:creator>Charles Oliver Nutter</dc:creator>
		<pubDate>Tue, 01 Dec 2009 08:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-20436</guid>
		<description>What commit was this in? The JRuby parser is basically the same structure as MRI&#039;s, so it would be nice to add some of these smarts to our parser too.</description>
		<content:encoded><![CDATA[<p>What commit was this in? The JRuby parser is basically the same structure as MRI&#8217;s, so it would be nice to add some of these smarts to our parser too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Brannan</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-20416</link>
		<dc:creator>Paul Brannan</dc:creator>
		<pubDate>Mon, 30 Nov 2009 22:00:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-20416</guid>
		<description>I like this.  For some reason I was annoyed when the 1.8 series started issuing errors like this, because they are so cryptic.  Even though ruby 1.6&#039;s &quot;parse error&quot; contained less information, it was easier on the eyes.

Now Rubinius gives us the best of both worlds.  Nice. :)</description>
		<content:encoded><![CDATA[<p>I like this.  For some reason I was annoyed when the 1.8 series started issuing errors like this, because they are so cryptic.  Even though ruby 1.6&#8242;s &#8220;parse error&#8221; contained less information, it was easier on the eyes.</p>
<p>Now Rubinius gives us the best of both worlds.  Nice. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jamie Orchard-Hays</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-20405</link>
		<dc:creator>Jamie Orchard-Hays</dc:creator>
		<pubDate>Mon, 30 Nov 2009 16:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-20405</guid>
		<description>That is a nice improvement, Evan. Good one.</description>
		<content:encoded><![CDATA[<p>That is a nice improvement, Evan. Good one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: August Lilleaas</title>
		<link>http://blog.fallingsnow.net/2009/11/29/helpful-syntax-errors/#comment-20392</link>
		<dc:creator>August Lilleaas</dc:creator>
		<pubDate>Mon, 30 Nov 2009 07:44:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.fallingsnow.net/?p=97#comment-20392</guid>
		<description>Let&#039;s hope this change makes it&#039;s way to MRI as well :)</description>
		<content:encoded><![CDATA[<p>Let&#8217;s hope this change makes it&#8217;s way to MRI as well <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
