David Gerard wrote:
MediaWiki's is, I understand, provably impossible to put in EBNF, which is why the parser documentation is the parser code ... But it's not actually worse than any of the others. Though possibly it has more odd bits bolted on the side.
I was thinking about this recently (while considering documention of an extension). Would it be possible to split wikitext into the bits that are EBNFable and the bits that are not - then come up with an EBNF alternative to the non-EBNF and deprecate the latter?
Mike
Deprecation: identifying those things that never go away. :)