Treetop or like grammar for Markdown (in Ruby)

John MacFarlane jgm at
Sun Oct 18 21:47:53 EDT 2009

I've built three different markdown implementations on top of PEG

peg-markdown (C):
lunamark (lua):
markdown-peg (haskell):

Ryan Tomayko has created ruby bindings for peg-markdown
and packaged it as a gem:


+++ Costa Shapiro [Oct 19 09 02:27 ]:

> Has anyone seen any attempts to give Markdown a PEG (parsing

> expressions grammar) recognizable by some ruby PEG parser generator

> grammar like Treetop?


> _______________________________________________

> Markdown-Discuss mailing list

> Markdown-Discuss at


More information about the Markdown-Discuss mailing list