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 booka??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 DSLsa??and, where appropriate, gain the significant technical and business benefits they offer.
The topics covered include:
a?? How DSLs compare to frameworks and libraries, and when those alternatives are sufficient
a? ? Using parsers and parser generators, and parsing external DSLs
a?? Understanding, comparing, and choosing DSL language constructs
a?? Determining whether to use code generation, and comparing code generation strategies
a?? Previewing new language workbench tools for creating DSLs