Latest Ruby DSL sightings on the web

Posted by Jeremy Voorhis Tue, 23 May 2006 22:45:00 GMT

On Monday, InfoQ published my, Agile Asset Management with Ruby DSLs. This article is about my experience using internal Ruby DSLs for digital asset management. An example of a site which the DSL supports can be found at http://media.nikefootball.com/. (You might also recognize this site from my Globalize slides.)

If you’d like to kick the tires on our asset complier, you can check out the project on the PLANET ARGON trac, or just install the gem like so:

sudo gem install asset_compiler

While I have been focusing on internal DSLs with Ruby, a friend of mine, Topher Cyll has been focusing on external DSLs using an s-expression parser he wrote. In his article, If It’s Not Nailed Down, Steal It, he walks us through pattern matching, destructuring, parsing s-expressions and finally creating a tiny LOGO-like language using an s-expression based external DSL that creates SVG graphics. The article is a worthy read, and it challenged my assumptions of what Ruby as a language is capable of.

Posted in Languages, DSLs, Ruby | no comments