1. A system for incrementally parsing hierarchical documents, comprising: a hierarchical lexer that retokenizes a portion of a hierarchical document according to an update affecting the hierarchical document; and a hierarchical parser that incrementally updates a portion of a hierarchical tree representation of the hierarchical document with the retokenized portion.