DSLs in Action

Book description

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 you'll need to build high-quality domain-specific languages. It explores DSL implementation based on JVM languages like Java, Scala, Clojure, Ruby, and Groovy and contains fully explained code snippets that implement real-world DSL designs. For experienced developers, the book addresses the intricacies of DSL design without the pain of writing parsers by hand.



About the Technology


About the Book


What's Inside
  • Tested, real-world examples
  • How to find the right level of abstraction
  • Using language features to build internal DSLs
  • Designing parser/combinator-based little languages


About the Reader

This book is written for developers working with JVM languages. Others will find techniques that (generally) work for them too.



About the Author

Debasish Ghosh is a senior member of the ACM and an influential blogger. He works with DSLs based on Java, Ruby, Clojure, and Scala.



Quotes
"Covers a lot of ground...not only widely but deeply."
- Jonas Bonér, Scalable Solutions

"Thorough, well thought-out, carefully crafted."
- Guillaume Laforge, SpringSource

"Covers the what, why, when, and how of DSLs."
- David Dossot, Programmer & Author

"Exhaustive, competent, and compelling."
- Frederico Tomassetti, Politecnico do Torino

"Five languages, no trivial examples, all in one book."
- John S. Griffin, Overstock.com

Product information

  • Title: DSLs in Action
  • Author(s): Debasish Ghosh
  • Release date: November 2010
  • Publisher(s): Manning Publications
  • ISBN: 9781935182450