Summary

The game engine DSL we built in this chapter was clearly designed with teaching Groovy in mind. However, I also have to admit to a certain amount of contrivance in how it was built. I had also been looking for a good example DSL to use as the final example in this book and I hope this one hit the mark on both counts. The integration problems we needed to solve to get this simple DSL up and running will, I think, be similar to the ones you will face in your own projects.

We have made use of and built on a lot of the concepts in the book. I hope you have had some fun along the way and learned a lot of new things. The journey is not over, however. The next steps are up to you. Happy DSL building!

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.