in reply to Extracting multiple-asterisk-delimited substring with Text::Balanced

I don't want to rain on your parade, but have you checked txt2tags? It's a lightweight and extensible markup language; it's been around for nearly a decade, so it's rock solid.

I use it often and I highly recommend it.

  • Comment on Re: Extracting multiple-asterisk-delimited substring with Text::Balanced

Replies are listed 'Best First'.
Re^2: Extracting multiple-asterisk-delimited substring with Text::Balanced
by kba (Sexton) on Dec 26, 2008 at 10:45 UTC

    Nah, doesn't really bother me :) I'm more interested in a parser whose grammar can be changed from the ground up by implementing all syntax elements as plugins and let the user decide specifically which plugins to use (e.g. textile's heading block style and css inline style, AsciiDocs text box style, Creole's typography markup etc.)

    Also I want to combine it with an indentation-aware parser to process tab-delimited outlines (like vimOutliner).

    Besides, I finally found a reason to play with OpenOffice::OODoc and XSLT to make Lightweight Markup documents importable in OpenOffice and ODT exportable to Lightweight Markup Plain Text documents.

    That being said, I like txt2tags. Lots. I don't like some of their conventions though, as with any other lightweight markup language. From the parser perspective, I love DokuWiki, very extendable, very well written, but in PHP and embedded in a CMS-like environment.

    Thanks for the hint though.