News for hackers. Stuff that matters.
Re:Vfmd: Markdown with a spec by dozzie on Monday June 23, 2014 @11:49AM (#7932570)
Less specification, more formal grammar. Foo-to-HTML converter is next to useless, especially compared to a well-formed parse tree. (In fact, there are already some PEG parsers for Markdown.)
Re:Vfmd: Markdown with a spec by roop on Monday June 23, 2014 @12:05PM (#7932681)
It's not possible to write a formal (non-PEG) grammar for Markdown. Hence, a spec, which is the next best thing (a la HTML5). Of course, vfmd is not a md-to-html converter, it's an md-to-parse-tree converter + a parse-tree-to-html converter.
Re:Vfmd: Markdown with a spec by dozzie on Monday June 23, 2014 @03:04PM (#7933819)
PEG is not a formal grammar? PEG being not a subset of context-free grammars? That's all new things to me.

And you actually have seen PEG parsers for Markdown? Like this one: https://github.com/jgm/peg-markdown/, with grammar written explicitly and lexer/parser generated?

Re:Vfmd: Markdown with a spec by roop on Tuesday June 24, 2014 @12:40AM (#7936215)