DSLs in Action
eBook - ePub

DSLs in Action

  1. 376 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

DSLs in Action

About this book

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. Purchase of the print book comes with an offer of a free PDF, ePub, and Kindle eBook from Manning. Also available is all code from 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

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access DSLs in Action by Debasish Ghosh in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming Languages. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Copyright
  2. Dedication
  3. Brief Table of Contents
  4. Table of Contents
  5. Foreword
  6. Preface
  7. Acknowledgments
  8. About the Book
  9. Part 1. Introducing domain-specific languages
  10. Chapter 1. Learning to speak the language of the domain
  11. Chapter 2. The DSL in the wild
  12. Chapter 3. DSL-driven application development
  13. Part 2. Implementing DSLs
  14. Chapter 4. Internal DSL implementation patterns
  15. Chapter 5. Internal DSL design in Ruby, Groovy, and Clojure
  16. Chapter 6. Internal DSL design in Scala
  17. Chapter 7. External DSL implementation artifacts
  18. Chapter 8. Designing external DSLs using Scala parser combinators
  19. Part 3. Future trends in DSL development
  20. Chapter 9. DSL design: looking forward
  21. Appendix A. Role of abstractions in domain modeling
  22. Appendix B. Metaprogramming and DSL design
  23. Appendix C. A cheat sheet for Ruby’s DSL-friendly features
  24. Appendix D. A cheat sheet for Scala’s DSL-friendly features
  25. Appendix E. A cheat sheet for Groovy’s DSL-friendly features
  26. Appendix F. A cheat sheet for Clojure’s DSL-friendly features
  27. Appendix G. Polyglot development
  28. Index
  29. List of Figures
  30. List of Tables
  31. List of Listings