
June 05, 202610 min read
Better diff rendering in coco, courtesy of tree-sitter
The regex-based structural diff extractors landed and worked – then hit a ceiling regex was never going to clear. Here’s how coco’s diff pipeline actually moved onto tree-sitter: sharper structural context for commit messages, a layered regex fallback, lazy-loaded grammars – plus the bonus the same parser bought us, syntax-highlighted diffs in the Workstation.





















