Re: Moin-devel digest, Vol 1 #585 - 1 msg
Nir Soffer <[email protected]> Fri, 3 Jun 2005 13:15:33 +0300
| Newsgroups | gmane.comp.web.wiki.moin.devel |
|---|---|
| Message-ID | <[email protected]> |
On 3 Jun, 2005, at 6:25, [email protected] wrote: > IMHO one of the weakest points in MoinMoin is how wiki.py parses the > input. Using regular expressions simply doesn't work properly for > nested balanced expressions, and we have already far too many > exceptions which nested expressions work, and which not. Many exceptions? > > What do you think of using a completely different paradigm, namely to > do bison-like parsing of the input data to get the appropriate tokens? May be interesting, the current parser is a big mess, the current parser state is "fix here, break there". > BTW, is any other part of MoinMoin dependent on wiki.py? I mean, can > I simply replace the HTML generating engine with a different one, > similar to the `colorizing' parsers for other languages like C or C++? > Where can I find the documentation of the affected interface? wiki.py is a plugin - you can replace it with your parser. Note that many people want to change the wiki syntax, specially the linking syntax. Maybe it better work first the syntax, and only then check what it the best way to parse it. There is already a discussion on new parsers in the wiki, try to search for it. Best Regards, Nir Soffer ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005