Debasish Ghosh

DSLs in Action

Authors Debasish Ghosh
Publication Date December 2010
Price 31.99 GBP
Pages 375
ISBN 1935182455
Publisher Manning Publications
Language English

Buy now!

Concepts and definitions for building domain specific languages.

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

  1. Tested, real-world examples
  2. How to find the right level of abstraction
  3. Using language features to build internal DSLs
  4. Designing parser/combinator-based little languages
Inline Feedbacks
View all comments