Chapter 9. Existing Groovy DSLs

By now, we have covered a lot of ground in describing the DSL-enabling features of Groovy. In this chapter, we will look at two of the existing Groovy DSLs that are freely available for download. The purpose of this chapter is not to try to give a comprehensive tutorial on either of them. We will explore each in turn in order to understand how they work, but more importantly, we will go through them in order to understand how they are implemented using the Groovy features and techniques that we have covered in the book so far. In this chapter, we will discuss:

  • Grails object relational mapping (GORM), which is a core component of the Grails web application framework and uses DSL-style techniques to apply persistence ...

Get Groovy for Domain-specific Languages - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.