----- Original Message -----
> From: "Nikola Smolenski" <[email protected]>

> 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

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to