pass1.py -- doclines towards more abstract doc elements (work in progress)