Literate Programming parser and action
for MoinMoin Wiki

Copyright:  2007 by Oleg Kobchenko <olegyk@yahoo.com>
            http://moinmoin.wikiwikiweb.de/OlegKobchenko
            All rights reserved.
License:    GNU GPL, see COPYING for details.

Examples:   http://www.jsoftware.com/jwiki/Literate
            at J Language Wiki

Version Date       Author         Reason
0.1     02/26/2007 Oleg Kobchenko Initial version
0.2     03/01/2007 Oleg Kobchenko Updated to better treat line ends
0.3     03/02/2007 Oleg Kobchenko Indenting, escaped parser anchor
0.4     03/04/2007 Oleg Kobchenko multipart fragments
0.5     03/06/2007 Oleg Kobchenko inline disposition
0.6     03/23/2007 Oleg Kobchenko parser: back links, HTML escapes; action: for, zip time
0.7     03/24/2007 Oleg Kobchenko zips, comments, warnings

(This is a proof-of-concept release. Try it, if you
like it, watch out for more fullfeatured version.)

Descirption
    Parser presents code fragments with achors and cross links
    Action is used from Actions menu to combine
    all code fragments into a zip file

Requirements
    - MoinMoin 1.3

Installation
    - copy these to corresponding MoinMoin locations:
          MoinMoin/parser/literate.py
          MoinMoin/action/Literate.py

Summary of installation

~$ wget "http://moinmoin.wikiwikiweb.de/ParserMarket?action=AttachFile&do=get&target=Literate_parser-0.4_Moin-1.3.tgz"

~$ mv ParserMarket\?action\=AttachFile\&do\=get\&target\=Literate_parser-0.4_Moin-1.3.tgz
Literate_parser-0.4_Moin-1.3.tgz

~$ mkdir Literate_parser
~$ cd Literate_parser
~/Literate_parser$ tar -xzf ../Literate_parser-0.4_Moin-1.3.tgz
~/Literate_parser$ cp action/Literate.py /var/moin/jwiki/data/plugin/action
~/Literate_parser$ cp parser/literate.py /var/moin/jwiki/data/plugin/parser


Configuration
    - edit the Configuration section of the installed files

Now test you should see "Literate" in Actions menu.
Test it. If errors are returned in HTML, follow the description.

References
    http://moinmoin.wikiwikiweb.de/ParserMarket
    http://en.wikipedia.org/wiki/Literate_programming
    http://en.literateprograms.org/LiteratePrograms:Welcome
    http://www.literateprogramming.com/
    http://www.google.com/search?q=literate+programming
