[Docstring-develop] pydps - the starts of HTML output
Status: Pre-Alpha
Brought to you by:
goodger
|
From: Tony J I. (Tibs) <to...@ls...> - 2001-09-03 09:30:06
|
[Neal, Jeremy - do you still want me to CC you, or shall I drop back to
just the docstring-develops list? I'll take no answer as meaning make no
change...]
Had fun this weekend getting the quick-and-dirty HTML output started. In
the end, I've stopped faffing around with DOM trees (all say "yeah!")
and am using the dps/nodes.py tree (DPS nodes tree?) directly - it's
pleasantly simple to use.
As always, latest version is at:
http://www.tibsnjoan.co.uk/reST/pydps.tgz
As you might expect (!) the colours are garish - this is my oh-so-subtle
way of indicating that this is a PROTOTYPE.
Still to do:
* add some more functions to the html.py, so it can cope
with more stuff
* expand nodes.py to transfer more of my initial data
into the DPS nodes tree.
* expand visit.py to work properly (!) - various things
need doing - see the file.
* deal with cross-references.
* add more documentation in various places.
* extract the command line stuff to its own file, make
the directory a proper package, etc., etc.
* integrate as a basic DPS Formatter, plus extra subclass
to handle the Python stuff.
As you can see, there's still plenty of fun in store (I estimate at
least another two major refactorings, for a start).
For what its worth, I'm finding the DPS (and also the compiler package)
good fun to play with - it's nice to leave someone else to handle the
parsing!
Tibs
--
Tony J Ibbs (Tibs) http://www.tibsnjoan.co.uk/
"Bounce with the bunny. Strut with the duck.
Spin with the chickens now - CLUCK CLUCK CLUCK!"
BARNYARD DANCE! by Sandra Boynton
My views! Mine! Mine! (Unless Laser-Scan ask nicely to borrow them.)
|