This post originated from an RSS feed registered with Ruby Buzz
by Jeremy Voorhis.
Original Post: Latest Ruby DSL sightings on the web
Feed Title: JVoorhis
Feed URL: http://feeds.feedburner.com/jvoorhis
Feed Description: JVoorhis is a Rubyist in northeast Ohio. He rambles about Ruby on Rails, development practices, other frameworks such as Django, and on other days he is just full of snark.
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.