I'm developing a new PHPWiki plugin that takes an index page of links
structured using a list and spits out page compiled from all the linked
pages, with chapter and sub-section headings formatted according to
their list depth. The problem is that I don't know whether its better to
write my own parser to convert the page, or use the existing
InlineParser and BlockParser classes. The code PHPWiki uses to parse its
markup is quite complex and I'd be grateful if somone could give me some
pointers. For more information please see attached plugin script.