Brion Vibber wrote:
Pedro Medeiros wrote:
A proof-of-concept implementation might be a good thing to have around. But if I may, I can't see how, for instance, a simple flex/bison parser could adequately parse a set of varying extension languages, like the one used in <math> tags, into valid XML (In this case, MathML, I guess).
It wouldn't be expected to; that would be passed off to the extension in a subsequent stage. (Have you checked the mailing list archives for past discussion on this topic?)
Not thorough, but I got most of the idea. But I won't be using php (and mediawiki extensions) to work on the XML file produced by flexbisonparse. I intend to transform the XML file into Docbook/XML (and from there to anything else). Docbook/XML supports math formulae natively, so I guess I won't be needing libgd-generated PNG images of them, right?
Cheers, Pedro.