The code here was the basis for sage-mode, in spirit if not in vivo.
