So it's basically as useless for general processing as Markdown, because you
won't have a grammar from which you can generate parser, hence all the parsers
will be handcoded with various quirks differing from one to another and none
of which will produce a parse tree.
Re:RFC 7764 – Guidance on Markdown
by mrottenkolber on Wednesday December 14, 2016 @06:04PM
(#13180578)
I'm baffled. Without a formal grammar CommonMark is useless. Who implements a parser without a formal grammar?
If the syntax has so many issues that you can't specify a formal grammar, there's a problem with the spec.
Re:RFC 7764 – Guidance on Markdown
by marcosdumay on Wednesday December 14, 2016 @04:27PM
(#13179808)
If it's hard to write a BNF, it's also hard to write a parser.
> 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...