Skip to Content
DSLs in Action
book

DSLs in Action

by Debasish Ghosh
November 2010
Intermediate to advanced
376 pages
12h 45m
English
Manning Publications

Overview

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.



About the Technology


About 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


About the Reader

This book is written for developers working with JVM languages. Others will find techniques that (generally) work for them too.



About the Author

Debasish Ghosh is a senior member of the ACM and an influential blogger. He works with DSLs based on Java, Ruby, Clojure, and Scala.



Quotes
"Covers a lot of ground...not only widely but deeply."
- Jonas Bonér, Scalable Solutions

"Thorough, well thought-out, carefully crafted."
- Guillaume Laforge, SpringSource

"Covers the what, why, when, and how of DSLs."
- David Dossot, Programmer & Author

"Exhaustive, competent, and compelling."
- Frederico Tomassetti, Politecnico do Torino

"Five languages, no trivial examples, all in one book."
- John S. Griffin, Overstock.com

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Groovy in Action, Second Edition

Groovy in Action, Second Edition

Cedric Champeau, Paul King, Dierk Koenig, Erik Pragt, Hamlet D'Arcy, Guillaume Laforge, Jonathan Skeet
Microservices in Action

Microservices in Action

Paulo A Pereira, Morgan Bruce
Electron in Action

Electron in Action

Steve Kinney

Publisher Resources

ISBN: 9781935182450Publisher SupportPublisher Website