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 InsideTested, real-world examplesHow to find the right level of abstractionUsing language features to build internal DSLsDesigning parser/combinator-based little languages
Author(s): Debasish Ghosh
Publisher: Manning Publications
Year: 2010
Language: English
Pages: 377
Tags: Библиотека;Компьютерная литература;