Much spiffiness! Jeremy Hylton wrote up a demonstration module to clarify his visitor code and sent it to me. Visitors are cool, but not always simple.
It looks like it would be more efficient to rewrite genpy.py as a visitor using Jeremy's framework.
Hmm. I think I'll work on the tree transformation module more first.