Just as I was mulling over outrageous template use…

Ned Batchelder provides a link to the Spirit Parser Framework.
EBNF implemented directly in C++ using templates. Which means, EBNF is embedded in your “standard” C++ code and executed. Stupendous. Even better than writing your own recursive-decent parser instead of relying on yacc.
However, I don’t think I’m brave enough to look at the code for the parser framework itself.

Comments are closed.