markdown PEG (parsing expression grammar)
John MacFarlane
jgm at berkeley.edu
Tue Apr 8 18:37:06 EDT 2008
But see http://piumarta.com/software/peg/, a lex/yacc replacement that
uses PEG. No doubt there are others as well.
+++ John MacFarlane [Apr 06 08 14:04 ]:
> No, not in general.
>
> +++ Dr. Drang [Apr 06 08 13:27 ]:
> > Forgive my ignorance, but can this sort of grammar be converted to the form
> > used by lex and yacc?
> >
> > --
> > Dr. Drang
> > www.leancrew.com/all-this
> >
> > On Apr 6, 2008, at 12:50 PM, John MacFarlane <jgm at berkeley.edu> wrote:
> >
> >> There's been a lot of discussion on this list about creating a formal
> >> grammar for markdown. I had a go at writing a [parsing expression
> >> grammar] for markdown. I used Haskell and John Meacham's Frisby PEG
> >> parsing library, but it should not be too hard to port the grammar
> >> to PEG libraries in other languages.
> > _______________________________________________
> > Markdown-Discuss mailing list
> > Markdown-Discuss at six.pairlist.net
> > http://six.pairlist.net/mailman/listinfo/markdown-discuss
> >
> _______________________________________________
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss
>
More information about the Markdown-Discuss
mailing list