----- Original Message -----
From: "Nikola Smolenski" smolensk@eunet.rs
I was thinking whether it would be possible to have two-tier parsing? Define what is valid wikitext, express it in BNF, write a parser in C and use it as a PHP extension. If the parser encounters invalid wikitext, enter the quirks mode AKA the current PHP parser.
I assume that >90% of wikis' contents would be valid wikitext, and so the speedup should be significant. And if someone needs to reuse the content outside of Wikipedia, they can use >90% of the content very easily, and the rest not harder than right now.
Yeah, I made this suggestion, oh, 2 or 3 years ago... and I was never able to get the acceptable percentage down below 100.0%.
Cheers, -- jra