markdown PEG (parsing expression grammar)

Dr. Drang drdrang at
Sun Apr 6 14:27:10 EDT 2008

Forgive my ignorance, but can this sort of grammar be converted to the
form used by lex and yacc?

Dr. Drang

On Apr 6, 2008, at 12:50 PM, John MacFarlane <jgm at> 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.

More information about the Markdown-Discuss mailing list