markdown PEG (parsing expression grammar)
jgm at berkeley.edu
Sun Apr 6 17:04:32 EDT 2008
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
> 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
More information about the Markdown-Discuss