[Moin-devel] handling paragraphs as long lines

Thomas Waldmann tw-public at gmx.de
Mon Jun 6 03:09:48 EDT 2005


Hi Werner,

> 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?

One of the problems might be that you don't want to be as strict in a 
wiki as you want to be when parsing a programming language.

E.g. there never should be a "syntax error" in a wiki.

> BTW, is any other part of MoinMoin dependent on wiki.py?

Maybe don't touch wiki.py for starting. Just call it wiki2.py and use 
#format wiki2 in your page header (like already possible for rst and 
other stuff).

> Where can I find the documentation of the affected interface?

Maybe reading wiki.py is the best and most current "documentation".
It is important to use the formatter to generate output.

greetings, Thomas




More information about the Moin-devel mailing list