From John MacFarlane, the author of the CommonMark spec:
> If anyone wants to contribute a BNF, please do! But I'm very skeptical that it can be done, due to the many quirks of the syntax.
https://github.com/jgm/CommonMark/issues/113#issuecomment-60...