[Moin-user] ReStructuredText parser maintenance / rewrite

Thomas Waldmann tw-public at gmx.de
Mon Apr 6 04:20:50 EDT 2009


As we have some rst users here, I just wanted to note that the rst
parser needs better maintenance and a rewrite.

It is more or less unmaintained by moin development, mostly because we
do not use ReST. I sometimes try to adapt and fix it, but doing this and
testing it is not easy if you are not a ReST user.

While this method currently more or less works, there is a big problem
at the horizon: for some version after 2.0 we are currently working on a
complete rewrite of how parsers and formatters work (see
http://hg.moinmo.in/moin/1.9-dom-bblank/ - don't be confused by the
"1.9" in it, it just means it is currently based on 1.9, NOT that it
will be released as 1.9). This approach will work internally with some
sort of DOM tree and will be much cleaner and more powerful than the
current way (the current parser/formatter works line-by-line and that's
often a problem).

Problem is that there is no rewrite of the rst parser yet (and that it
should be done by someone with a clue about rst, but we have no such
developer).

It will take a while until we can get that code into production - but it
will also take a while until a new rst parser could be finished, IF
somebody jumps on it.






More information about the Moin-user mailing list