Matthew Good wrote:
I noticed that Dr. Project has made some major changes to the Wiki parsing, and seems to now separate the parsing and formatting steps,
This work is in a branch for now, so I don't know at which development stage it is currently: http://pyre.third-bit.com/drproject/drproject-dev/browser/branches/wikiparser/drproject/wiki It uses Plex for the scanning (parser.py) and ElementTree for producing HTML (formatter.py). The approach looks interesting, indeed. I hope I'll find some time to dig further.
which I think is a very valuable enhancement. This would make it easier for analyzing Wiki pages, such as finding all the links, etc. It also seems useful for converting the Wiki to other output formats (DocBook, DITA, XSL:FO, LaTeX, or even an alternate Wiki syntax).
That would be very valuable indeed, but I'm not sure a complete rewrite of the scanner is really needed for that -- simply separating the regexp based scanner we have now from the HTML generation could be enough... a lexer/parser could be added as a second step. -- Christian _______________________________________________ Trac-dev mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac-dev
