<?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: Eeck more Ruby parser crapola!</title>
	<atom:link href="http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/feed/" rel="self" type="application/rss+xml" />
	<link>http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/</link>
	<description>Brian Pontarelli</description>
	<lastBuildDate>Wed, 08 Feb 2012 15:34:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: Matijs van Zuijlen</title>
		<link>http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/#comment-3853</link>
		<dc:creator>Matijs van Zuijlen</dc:creator>
		<pubDate>Mon, 25 Jun 2007 13:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/#comment-3853</guid>
		<description>It&#039;s very simple: class and method definition are run-time operations, not compile-time. Ruby does parse the whole file, as you can see if you put some real syntax errors later in the file (like a = + ] ).

Having class and method definition run-time means you can also redefine methods (and even undefine classes) at run-time. This means that &#039;fixing&#039; your problem would be very hard: If there are two definitions for create_dictionary, which one should Ruby use at that point in the code?</description>
		<content:encoded><![CDATA[<p>It&#8217;s very simple: class and method definition are run-time operations, not compile-time. Ruby does parse the whole file, as you can see if you put some real syntax errors later in the file (like a = + ] ).</p>
<p>Having class and method definition run-time means you can also redefine methods (and even undefine classes) at run-time. This means that &#8216;fixing&#8217; your problem would be very hard: If there are two definitions for create_dictionary, which one should Ruby use at that point in the code?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Pontarelli</title>
		<link>http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/#comment-1454</link>
		<dc:creator>Brian Pontarelli</dc:creator>
		<pubDate>Wed, 08 Nov 2006 15:07:33 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/#comment-1454</guid>
		<description>Yeah, you are completely correct and it gets much, much worse! I&#039;ll be posting again about this Ruby parsing stuff, but reflection in Ruby is such a mess because it doesn&#039;t build up an AST completely.</description>
		<content:encoded><![CDATA[<p>Yeah, you are completely correct and it gets much, much worse! I&#8217;ll be posting again about this Ruby parsing stuff, but reflection in Ruby is such a mess because it doesn&#8217;t build up an AST completely.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike McKinney</title>
		<link>http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/#comment-1439</link>
		<dc:creator>Mike McKinney</dc:creator>
		<pubDate>Tue, 07 Nov 2006 19:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/#comment-1439</guid>
		<description>Lots of scripting languages are read then loaded in line... this is what is happening here, the interpreter doesn&#039;t have reference to the method you are defining until the &#039;end&#039; tag so trying to define something in that space will always blow up...  (unless someone wants to have a multi-pass compiler which are a bear.)</description>
		<content:encoded><![CDATA[<p>Lots of scripting languages are read then loaded in line&#8230; this is what is happening here, the interpreter doesn&#8217;t have reference to the method you are defining until the &#8216;end&#8217; tag so trying to define something in that space will always blow up&#8230;  (unless someone wants to have a multi-pass compiler which are a bear.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Beniji</title>
		<link>http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/#comment-784</link>
		<dc:creator>Beniji</dc:creator>
		<pubDate>Wed, 04 Oct 2006 12:36:43 +0000</pubDate>
		<guid isPermaLink="false">http://brian.pontarelli.com/2006/08/06/eeck-more-ruby-parser-crapola/#comment-784</guid>
		<description>Well Ruby is an object scripting language. The emphasis is on scripting. Hence also the lame require/load and lack of decent module namespacing. Matz just needs to take some pointers from guido/joy on this one.</description>
		<content:encoded><![CDATA[<p>Well Ruby is an object scripting language. The emphasis is on scripting. Hence also the lame require/load and lack of decent module namespacing. Matz just needs to take some pointers from guido/joy on this one.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

