SERVER-139035In Code Review
Add ability to write IDL extensions
h2. Motivation The IDL compiler is a fixed three-stage pipeline (parse, bind, generate) with every grammar hard-coded into its core. Adding a new top-level grammar today means editing the block dispatch in parser.py, the spec and symbol table, the binder, and the generator, and each grammar's logic ends up spread across files it does not own. The unified metrics framework work (SPM-4962) requires adding a grammar for metrics. asked whether it could be implemented as an extension to IDL t