[Docstring-develop] dps_visit.py - first pass at XML output
Status: Pre-Alpha
Brought to you by:
goodger
From: Tony J I. (Tibs) <to...@ls...> - 2001-08-29 15:10:56
|
As always, they're at: http://www.tibsnjoan.co.uk/reST/dps_visit.py http://www.tibsnjoan.co.uk/reST/test.py The addition is an "xml" command line switch, which causes a (rather nasty) emission of XML to the standard output. No attempt to process the docstrings yet. No attempt to think about a nice schema for the XML, either. Note that this module now depends on the DPS module, since it imports (its of) it. I fully intend to produce a separate module at some stage which is useful *just* as an example of mining the relevant information out of the AST - that should simply be a matter of stripping stuff out. NB: Jeremy - do we believe the compiler module to work under 2.2a1? I had a problem last night that I avoided by using an earlier version of it - sorry, I don't have the exception stack to hand, and unfortunately I don't have internet connectivity at home at the moment, so can't download 2.2a2 (which, for all I know, may fix it). I'll try to research more tonight, in case this is something not known about. Tibs -- Tony J Ibbs (Tibs) http://www.tibsnjoan.co.uk/ Give a pedant an inch and they'll take 25.4mm (once they've established you're talking a post-1959 inch, of course) My views! Mine! Mine! (Unless Laser-Scan ask nicely to borrow them.) |