Chapter 28. Build External DSLs for Flexible Syntax

My older brother turned out to be a pretty great guy. He works hard. He’s dedicated to his family. If you have a problem, he’s willing to help. Since he did turn out so well, I guess I can forgive him for being really, really popular in high school. Back then my days seemed to be filled with a continuous stream of pretty girls asking me if I was really Charlie Olsen’s brother.1 The thing is, even in my teens I was witty, I was intelligent, and I had the mesmerizing Olsen blue eyes. There’s no doubt that my high school career would have been a bigger social success if only I could have stepped out of my brother’s shadow for five minutes.2

Given this, I can sympathize with every external DSL ...

Get Eloquent Ruby now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.