Debasish Ghosh,

#DSLs
#JVM
#Ruby
#Groovy
#Clojure
Your success—and sanity—are closer at hand when you work at a higher level of abstraction, allowing your attention to be on the business problem rather than the details of the programming platform. Domain Specific Languages—"little languages" implemented on top of conventional programming languages—give you a way to do this because they model the domain of your business problem.
DSLs in Action introduces the concepts and definitions a developer needs to build high-quality domain specific languages. It provides a solid foundation to the usage as well as implementation aspects of a DSL, focusing on the necessity of applications speaking the language of the domain. After reading this book, a programmer will be able to design APIs that make better domain models. For experienced developers, the book addresses the intricacies of domain language design without the pain of writing parsers by hand.
The book discusses DSL usage and implementations in the real world based on a suite of JVM languages like Java, Ruby, Scala, and Groovy. It contains code snippets that implement real world DSL designs and discusses the pros and cons of each implementation.What's Inside
Table of Contents
Part 1. Introducing Domain-Specific Languages
1. Learning to speak the language of the domain
2. The DSL in the wild
3. DSL-driven application development
Part 2. Implementing DSLs
4. Internal DSL implementation patterns
5. Internal DSL design in Ruby, Groovy, and Clojure
6. Internal DSL design in Scala
7. External DSL implementation artifacts
8. Designing external DSLs using Scala parser combinators
Part 3. Future Trends in DSL Development
9. DSL design: looking forward
Debasish Ghosh, Chief Technology Evangelist at Anshinsoft, is passionate about programming languages and cooperative polyglotism. He has developed systems using multiple JVM languages and has designed DSLs using Java, Ruby, and Scala. Debasish is a senior member of the ACM and an active blogger on programming techniques and languages.









