Treetop or like grammar for Markdown (in Ruby)

John MacFarlane jgm at
Mon Oct 19 12:52:46 EDT 2009

+++ Costa Shapiro [Oct 19 09 18:40 ]:

> Thanks John, but I've already seen these options.

> I'm looking for a nicer Ruby option (with on-the-fly object creation)

> which will be easy to extend.

Sure. The thought was that you might be able to draw on some of
the work I've done in creating the grammar, rather than reinventing
the wheel. The syntax details vary from one PEG library to another,
but once you've got an implementation for one, it's not hard to port
it to another (in your case, treetop).


More information about the Markdown-Discuss mailing list