User talk:Than4213

Parser Goals
What are your goals for rewriting the parser?

I've been contemplating making a serious run at rewriting the parser caching scheme to improve performance. In thinking about the work I'd want to do, one of the concerns would be modify and better organize the way the parser structures intermediate data. It seems like you may have complementary goals. Dragons flight 08:18, 12 February 2010 (UTC)


 * In the short term, I plan to make the preprocessor parse directly to DOM objects in preprocessToDom. After that, I want to do the same for the parser (maybe make a parseToDom function).  It looks like there is already some caching functionality it preprocessToDom.  Are you planning on improving that?  I agree that more attention should be placed on intermediate data.  In fact, a pie in the sky idea I have for the parser is to have mediawiki store the Dom parse tree serialized to xml or maybe rdf/xml instead of the wikitext.  When someone wants to edit a page the parse tree would be translated to wikitext and when someone wants to view the page it would be translated to html.  Yeah, we should both work in the parser-work branch.  --Than4213 20:11, 12 February 2010 (UTC)