[Python-modules-team] Bug#567378: Bug#567378: Using alternatives for /usr/bin/markdown?
Axel Beckert
abe at debian.org
Sun Feb 21 12:49:18 UTC 2010
On Sun, Feb 21, 2010 at 05:55:43PM +1100, Ben Finney wrote:
> On 19-Feb-2010, Axel Beckert wrote:
> > On Fri, Feb 19, 2010 at 09:18:28AM +1100, Ben Finney wrote:
> > > One possible reason is that there appears to be no specification
> > > on the parsing of Markdown format, other than ???what John
> > > Gruber's /usr/bin/markdown does???.
> >
> > Sure there is:
> >
> > http://daringfireball.net/projects/markdown/syntax
>
> Sorry, I didn't mean ???a set of examples and prose explanation???. I
> means a specification of the language, i.e. a formal grammar.
I see. Sorry for the misunderstanding.
> From what I gather, Markdown lacks one
> <URL:http://www.cforcoding.com/2010/01/markdown-headings-grief-and-unknown.html>.
Thanks for that link.
Interestingly in the single comment to that blog-post, there is a hint
to a PEG grammar for markdown and the parser based on it:
http://github.com/jgm/peg-markdown/blob/master/markdown_parser.leg
Could that help? It's not by Gruber, but IMHO it's a starting point.
Regards, Axel
--
Axel Beckert - abe at deuxchevaux.org, abe at noone.org - http://noone.org/abe/
More information about the Python-modules-team
mailing list