Grammars are a unique feature of Raku; they are a powerful way to process text with structure in it, and they can be used to create mini-languages. You can use these mini-languages for many different purposes, from configuration to real and actual programming languages. Like regular expressions, mini-languages are the kind of thing that you will wish you would have known about before, because they will save so much trouble thanks to their expressivity. We’ll dive into them next.
Recipe 16-1. Use Mini-Languages That Show Off Their Possibilities
Many problem domains would benefit from having ...