Treetop or like grammar for Markdown (in Ruby)

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


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

peg-markdown (C): http://github.com/jgm/peg-markdown
lunamark (lua): http://github.com/jgm/lunamark
markdown-peg (haskell): http://github.com/jgm/markdown-peg

Ryan Tomayko has created ruby bindings for peg-markdown
and packaged it as a gem: http://github.com/rtomayko/rpeg-markdown/

John

+++ 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?

> http://treetop.rubyforge.org/

> _______________________________________________

> 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