Domain Specific Languages (DSLs) with Groovy

A session at IndicThreads Conference on Java 2010

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.

About the speaker

This person is speaking at this event.
Saager Mhatre

Lazy Hacker

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

Short URL

lanyrd.com/sckrh

Official event site

j10.indicthreads.com

View the schedule

Share

Topics

See something wrong?

Report an issue with this session