<p>> > But how to associate actions with a rule, in that case? I mean, some<br>
> > rules will have actions, some not.<br>
><br>
> You could maybe just put D code in the grammar string, which gets<br>
> compiled as a string mixin by CTFE?</p>
<p>I could, but one of my driving goals while beginning this project a month ao was to use the shiny new lambda syntax directly :)</p>
<p>"rule1", o => o<br>
"rule2", o => o<br></p>
<p>etc.</p>