Actions are hooks after parsing, but we need context hooks before parsing started for each of the rule elements.
That means, like writing a recursive decent parser by hand, which allows us parse and modify the context step by step.
That is, and you can call it, 'partial action'.
Actions are hooks after parsing, but we need context hooks before parsing started for each of the rule elements.
That means, like writing a recursive decent parser by hand, which allows us parse and modify the context step by step.
That is, and you can call it, 'partial action'.