<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BlackBox &#187; ruby</title>
	<atom:link href="http://www.warneronstine.com/tag/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.warneronstine.com</link>
	<description>Where technology and art disappear</description>
	<lastBuildDate>Wed, 17 Nov 2010 10:52:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Groovy as a DSL</title>
		<link>http://www.warneronstine.com/2006/12/09/groovy-as-a-dsl/</link>
		<comments>http://www.warneronstine.com/2006/12/09/groovy-as-a-dsl/#comments</comments>
		<pubDate>Sat, 09 Dec 2006 17:21:00 +0000</pubDate>
		<dc:creator>Warner Onstine</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[dsl]]></category>
		<category><![CDATA[groovy]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Guillame Laforge (one of the Groovy programmers) posted his thoughts on using Groovy as a DSL. With the help of closures, methods, operator overloading, adding properties &#38; methods to classes, with named parameters and so on, you can quickly come up with a language of your own, a DSL, targeted at the subject you’re dealing [...]]]></description>
			<content:encoded><![CDATA[<p>Guillame Laforge (one of the Groovy programmers) <a title="From named-parameters to Domain-Specific Languages" href="http://glaforge.free.fr/weblog/index.php?itemid=187">posted his thoughts</a> on using Groovy as a DSL.</p>
<blockquote><p>With the help of closures, methods, operator overloading, adding<br />
properties &amp; methods to classes, with named parameters and so on, you<br />
can quickly come up with a language of your own, a DSL, targeted at<br />
the subject you’re dealing with.</p></blockquote>
<p>This was in response to an article that ran on Artima <a title="Creating DSLs with Ruby" href="http://www.artima.com/rubycs/articles/ruby_as_dslP.html">“Creating DSLs with Ruby”</a>, of which most of the examples could be easily modified to Groovy code.</p>
<p>The Groovy team has created a page, “Writing Domain-Specific Languages”, to showcase some of the examples of using Groovy as a DSL, which I will probably be committing more to as the <a title="Chama Web DSL" href="http://warneronstine.com/cgi-bin/trac.cgi">Chama</a> project continues.</p>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.warneronstine.com%2F2006%2F12%2F09%2Fgroovy-as-a-dsl%2F&amp;partner=sociable" title="Print"><img src="http://www.warneronstine.com/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.warneronstine.com%2F2006%2F12%2F09%2Fgroovy-as-a-dsl%2F&amp;title=Groovy%20as%20a%20DSL&amp;bodytext=Guillame%20Laforge%20%28one%20of%20the%20Groovy%20programmers%29%20posted%20his%20thoughts%20on%20using%20Groovy%20as%20a%20DSL.%0D%0AWith%20the%20help%20of%20closures%2C%20methods%2C%20operator%20overloading%2C%20adding%0D%0Aproperties%20%26amp%3B%20methods%20to%20classes%2C%20with%20named%20parameters%20and%20so%20on%2C%20you%0D%0Acan%20quickly%20c" title="Digg"><img src="http://www.warneronstine.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://reddit.com/submit?url=http%3A%2F%2Fwww.warneronstine.com%2F2006%2F12%2F09%2Fgroovy-as-a-dsl%2F&amp;title=Groovy%20as%20a%20DSL" title="Reddit"><img src="http://www.warneronstine.com/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://delicious.com/post?url=http%3A%2F%2Fwww.warneronstine.com%2F2006%2F12%2F09%2Fgroovy-as-a-dsl%2F&amp;title=Groovy%20as%20a%20DSL&amp;notes=Guillame%20Laforge%20%28one%20of%20the%20Groovy%20programmers%29%20posted%20his%20thoughts%20on%20using%20Groovy%20as%20a%20DSL.%0D%0AWith%20the%20help%20of%20closures%2C%20methods%2C%20operator%20overloading%2C%20adding%0D%0Aproperties%20%26amp%3B%20methods%20to%20classes%2C%20with%20named%20parameters%20and%20so%20on%2C%20you%0D%0Acan%20quickly%20c" title="del.icio.us"><img src="http://www.warneronstine.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://twitter.com/home?status=Groovy%20as%20a%20DSL%20-%20http%3A%2F%2Fwww.warneronstine.com%2F2006%2F12%2F09%2Fgroovy-as-a-dsl%2F" title="Twitter"><img src="http://www.warneronstine.com/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.warneronstine.com%2F2006%2F12%2F09%2Fgroovy-as-a-dsl%2F&amp;t=Groovy%20as%20a%20DSL" title="Facebook"><img src="http://www.warneronstine.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.warneronstine.com%2F2006%2F12%2F09%2Fgroovy-as-a-dsl%2F&amp;title=Groovy%20as%20a%20DSL&amp;annotation=Guillame%20Laforge%20%28one%20of%20the%20Groovy%20programmers%29%20posted%20his%20thoughts%20on%20using%20Groovy%20as%20a%20DSL.%0D%0AWith%20the%20help%20of%20closures%2C%20methods%2C%20operator%20overloading%2C%20adding%0D%0Aproperties%20%26amp%3B%20methods%20to%20classes%2C%20with%20named%20parameters%20and%20so%20on%2C%20you%0D%0Acan%20quickly%20c" title="Google Bookmarks"><img src="http://www.warneronstine.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  href="http://www.dzone.com/links/add.html?url=http%3A%2F%2Fwww.warneronstine.com%2F2006%2F12%2F09%2Fgroovy-as-a-dsl%2F&amp;title=Groovy%20as%20a%20DSL" title="DZone"><img src="http://www.warneronstine.com/wp-content/plugins/sociable/images/dzone.png" title="DZone" alt="DZone" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.warneronstine.com/2006/12/09/groovy-as-a-dsl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

