Steve Bennett wrote:
- There have been several attempts to write a grammar. The latest one
is looking promising for completeness (though ANTLR is slow and buggy).
- If I said that, I think I was wrong. ANTLRworks is slow and buggy. I
think ANTLR itself is probably ok, particularly once the grammar itself is stabilised. It would be good to have something to benchmark against though - does mediawiki report how long it takes to *parse* a page?
Yes, it does. It usually shows the total time to serve tha page, but you can make it give you the full time spenta on each function. http://flake.defau.lt/pics/mediawiki.png