On 11/14/07, Simetrical Simetrical+wikilist@gmail.com wrote:
On 11/12/07, Steve Bennett stevagewp@gmail.com wrote:
I'm making a quick summary of all the steps the parser goes through currently, partly to get familiar with the parser. For each one I'll
then
attach some BNF. Then work out a way of merging the BNFs.
Have you started by looking at and testing the existing BNF efforts?
I'm working from the following three, which I have loosely merged together. http://meta.wikimedia.org/wiki/EBNF/Draft http://meta.wikimedia.org/wiki/Wikitext_Metasyntax http://www.mediawiki.org/wiki/Markup_spec
It's still a bit messy, but is getting closer to completeness in a "all the features are described at some level" way.
None of them was complete enough to be testable.
(As it turns out, I'm not following the approach I described above. However, I do intend to link from each parser step to the relevant BNF.)
Steve