H. Cunningham. A little language for surveys: constructing an internal DSL in Ruby. In ACM-SE 46: Proceedings of the 46th Annual Southeast Regional Conference on XX. ACM, New York, NY, USA, 2008.
Using a problem domain motivated by Bentley’s “Little Languages” column , this paper explores the use of the Ruby programming language’s flexible syntax, dynamic nature, and reflexive metaprogramming facilities to implement an internal domain-specific language (DSL) for surveys.
Jon Bentley, Programming pearls: little languages, Communications of the ACM, v.29 n.8, p.711-721, Aug. 1986 [doi>10.1145/6424.315691]