some lexyacc
entire-src/py/shape_installer.py

A script to easily install a bunch of shapes in dia.
Also generates the required script file.