The basic idea of a domain specific language (DSL) is a computer language that’s targeted to a particular kind of problem, rather than a general purpose language that’s aimed at any kind of software problem.
In this session we will start by understanding what a DSL is through examples from the wild. Following that, I intend to bring out the flexibility afforded by dynamic languages (Groovy in particular) that provides developers with the tools to build their own DSLs with relative ease. We will see examples of mini languages built in under 50 LOC that make everyday boilerplate code look downright sexy! I will elaborate on several Groovy specific features, especially those that I feel contribute significantly towards making it a good workbench for DSLs. A basic understanding of dynamic languages will be a prerequisite for this session.
This session on “Domain Specific Languages (DSLs) with Groovy” will be presented at the 5th Annual IndicThreads.com Conference On Java to be held in Pune, India on 10,11 December 2010.Click here for a list of other Sessions @ The Conference