dlang-community / Pegged

A Parsing Expression Grammar (PEG) module, using the D programming language.
534 stars 66 forks source link

addRuleAfter,addRuleBefore seem unused #134

Open timotheecour opened 10 years ago

PhilippeSigaud commented 10 years ago

That was (is) to get dynamic rules, that can be modified at runtime, to permit a base parser (say, a D parser) to be modified to allow, for example, AST macros.

It might not be used right now (and maybe it's also undocumented, I don't remember), but at one time I had macro-oriented branches to put this in action.