Domain Specific Languages (DSLs) are often littered with the accidental complexity of the host language. This article shows you step-by-step how to use Groovy Command Expressions and plain old metaprogramming to write just this DSL, and also offers advice on when, and when not, to use this new language feature.
groovy