Chapter 11. A DSEL Design Walkthrough
In this chapter we'll walk through the process of designing and implementing a domain-specific embedded language and a metaprogram that operates on it. First we'll explore a domain and identify its principal abstractions; using a specific example, we'll get a sense of what they mean in the real world. Then we'll design a DSEL to express those abstractions, with our example as a proof-of-concept. Finally, we'll apply the tools and techniques you've learned in this book to write a metaprogram that processes the language to generate useful and efficient runtime components.
 |