On 11/21/07, Tim Starling tstarling@wikimedia.org wrote:
This work was planned and started before the recent parser discussions on wikitech-l, by Steve Bennett et al. I chose to ignore those discussions to improve my productivity. Apologies if I'm stepping on any toes.
Not at all. Actual productive work should always take precedence over vapourware :)
I've actually been mostly ignoring the preprocessor until now - it could certainly be redone in the same style as the main parser, but it would (I think) always have to be a separate step, to handle template transclusion.
Realistically, even if I/we get the grammar fomalised and hack up a quick ANTLR-based parser, a usable new parser is at least 6 months away, even assuming all goes well.
Also the fact that performance has become an issue probably leans even more towards the hand-built solution rather than a generated parser.
Steve