Groovy for Domain-specific Languages - Second Edition

(nextflipdebug2) #1

Existing Groovy DSLs


[ 246 ]

Most importantly, in this chapter, we have seen how all of these projects exploit
different Groovy features in order to implement DSL-style structures and syntax.


In the next chapter we will cover the techniques that you can use to build your own
builder. In Chapter 7, Power Groovy DSL Features, we took a brief look at how builders
worked. In Chapter 10, Building a Builder, we will look in detail at how we can use
closures and the Groovy MOP to implement the Groovy builder pattern in our
own applications.


http://www.ebook3000.com
Free download pdf