Using Ruby to Create Domain-Specific Languages
by Eric Ivancich
Domain-specific languages (DSLs) are tailored to solve a particular
problem. They're designed around a domain, focusing on abstractions
specific to that domain, which makes them distinct from general purpose
languages. Specifications written in a DSL can often be read, understood,
and verified as correct by a domain expert who is not a programmer. And
sometime DSLs are designed around the goal of enabling domain experts to
write their own specifications.
In this talk we will look at the features of Ruby that lend themselves to
the creation of domain-specific languaes, some expample DSLs, and examples
of the underlying Ruby code.