Text this: Principles of Diachronic Syntax