The usual term for somebody who knows endless language details is 'language lawyer'. It's mentioned in _The Mythical Man-Month_ as a member of the "surgical team". Nowadays, the language lawyer role might include exhaustive knowledge of the dusty nooks and crannies of complex APIs.