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.
Sign in to add slides, notes or videos to this session