Domain-Specific Languages (Google eBook)

Front Cover
Pearson Education, Sep 23, 2010 - Computers - 640 pages
12 Reviews

When carefully selected and used, Domain-Specific Languages (DSLs) may simplify complex code, promote effective communication with customers, improve productivity, and unclog development bottlenecks. In Domain-Specific Languages , noted software development expert Martin Fowler first provides the information software professionals need to decide if and when to utilize DSLs. Then, where DSLs prove suitable, Fowler presents effective techniques for building them, and guides software engineers in choosing the right approaches for their applications.

 

This book’s techniques may be utilized with most modern object-oriented languages; the author provides numerous examples in Java and C#, as well as selected examples in Ruby. Wherever possible, chapters are organized to be self-standing, and most reference topics are presented in a familiar patterns format.

 

Armed with this wide-ranging book, developers will have the knowledge they need to make important decisions about DSLs—and, where appropriate, gain the significant technical and business benefits they offer.

 

The topics covered include:

  • How DSLs compare to frameworks and libraries, and when those alternatives are sufficient
  • Using parsers and parser generators, and parsing external DSLs
  • Understanding, comparing, and choosing DSL language constructs
  • Determining whether to use code generation, and comparing code generation strategies
  • Previewing new language workbench tools for creating DSLs
  

What people are saying - Write a review

User ratings

5 stars
0
4 stars
8
3 stars
2
2 stars
2
1 star
0

Review: Domain-Specific Languages

User Review  - Slavik - Goodreads

Good book. Everyone who want to start their journey with dsl should read this book. Read full review

Review: Domain-Specific Languages

User Review  - Goodreads

Good book. Everyone who want to start their journey with dsl should read this book. Read full review

Contents

Preface
An Introductory Example
Using DomainSpecific Languages
Implementing DSLs
Implementing an Internal
Implementing an External
Choosing between Internal and External
Strong Expressiveness Boundary
Alternative Computational Models
Code Generation
Language Workbenches
A Zoo of DSLs
Semantic Model
Symbol Table
Context Variable
When to Use

Common terms and phrases

About the author (2010)

Martin Fowler is Chief Scientist at ThoughtWorks. He describes himself as “an author, speaker, consultant, and general loudmouth on software development. I concentrate on designing enterprise software—looking at what makes a good design and what practices are needed to come up with good design.” Fowler’s books include Patterns of Enterprise Application Architecture; UML Distilled, Third Edition; and (with Kent Beck, John Brant, and William Opdyke) Refactoring: Improving the Design of Existing Code. All are published by Addison-Wesley.

Bibliographic information