On Wed, Nov 14, 2007 at 12:01:07PM +1100, Nick Jenkins wrote:
Agreed. But I would also add that a nice (but low priority) characteristic of an alternate parser would be that if can be easily reused in other apps besides MediaWiki. Lots of web apps seems to reinvent some HTML-lite syntax, and it would be beneficial if multiple apps could just drop-in our parser (thus saving users for learning yet another syntax, and saving programmers from having to reinvent the wheel). Having experimented once a long long time ago with extracting the parser, and having found that it required lots of setup and global variables to work, I can understand why this doesn't happen currently. So a loosely-coupled parser that encouraged reuse could be nice, and is related somewhat to encouraging interoperability.
Yup, it sure would be, wouldn't it?
Cheers, -- jra