Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

How To Build a DSL (Domain Specific Language) in Ruby

By Peter Cooper / January 14, 2007

Russ Olsen has been putting together a small series of blog posts about building a DSL in Ruby. The first part dates from October 2006, but the second part has just been released, making it a good double length read. In the mini-series, Russ looks at the motivation for developing a DSL and develops a basic DSL called Potemkin.


  1. Ron Evans says:

    I also really like Russ Olsen's Ruby DSL articles, and they influenced me to dabble in writing about the subject. Check out Part 4 of my series on Ruby Domain Specific Languages - The Basics at

    Ron Evans

Other Posts to Enjoy

Twitter Mentions