中文名: DSLs 实战
原名: DSLs in Action
作者: Debasish Ghosh
资源格式: PDF
版本: 英文文字版/更新源代码
出版社: Manning书号: 9781935182450发行时间: 2010年12月
地区: 美国
语言: 英文
简介:
内容介绍:
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.
目录:
Part 1 Introducing domain-specific languages
Chapter 1 Learning to speak the language of the domain
Chapter 2 The DSL in the wild
Chapter 3 DSL-driven application development
Part 2 Implementing DSLs
Chapter 4 Internal DSL implementation patterns
Chapter 5 Internal DSL design in Ruby, Groovy, and Clojure
Chapter 6 Internal DSL design in Scala
Chapter 7 External DSL implementation artifacts
Chapter 8 Designing external DSLs using Scala parser combinators
Part 3 Future trends in Dsl development
Chapter 9 DSL design: looking forward
appendix A: Role of abstractions in domain modeling
appendix B: Metaprogramming and DSL design
appendix C: A cheat sheet for Ruby’s DSL-friendly features
appendix D: A cheat sheet for Scala’s DSL-friendly features
appendix E: A cheat sheet for Groovy’s DSL-friendly features
appendix F: A cheat sheet for Clojure’s DSL-friendly features
appendix G: Polyglot development
2021-05-12 20:09:12
6.38MB
DSLs
1