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 3. The drive toward DSLs

In this chapter

  • Understanding DSL types
  • Building a DSL for scheduling tasks
  • Fleshing out a DSL syntax
  • Taking a DSL apart to see what makes it tick
  • Implementing the Scheduling DSL

In this chapter, we’re going to look at the different types of DSLs that we can build and at how and when we should use them. We’ll then take a problem—the need for a scheduling system—and begin solving it with a DSL—the Scheduling DSL. We’ll start by looking at the problem, follow the reasoning that leads us to solving it using a DSL, and then decide on the syntax and implementation.

In this chapter, we’ll build several implementations of the Scheduling DSL and go through the entire process of building a DSL for real use, although ...

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