3 ms·
Reading the sources and trying to understand it takes a lot longer than looking at bnf and cranking out recursive descent parser based on it or a parser generat
by UK-AL 10y ago
Reading the sources and trying to understand it takes a lot longer than looking at bnf and cranking out recursive descent parser based on it or a parser generator.
- dreamcompiler 10y agoIt's not possible to write a BNF for Markdown. At least not an unambiguous, useful BNF. http://roopc.net/posts/2014/markdown-cfg/ http://roopc.net/posts/2014/markdown-cfg/