O'Reilly logo

DSLs in Boo: Domain-Specific Languages in .NET by Ayende Rahien

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Building DSLs

In this chapter

  • How to build an application based on DSLs
  • Creating the Message-Routing DSL
  • Creating the Authorization DSL
  • Creating the Quote-Generation DSL

In this chapter, we’ll look at how to design an application that uses DSLs to do much of its work. We’ll cover several of those DSLs in detail (and leave others for later), and we’ll explore how to build, instantiate, and execute those DSLs in the context of our application. We’re going to focus on two types of DSLs, the ones most commonly used in business applications: technical DSLs and business DSLs.

Technical DSLs are generally used as bootstrapping and configuration mechanisms to make it easier to modify a part of a system. In general, those DSLs enable ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required