My favourite page in the difftastic manual is the Tricky Cases discussion. Syntactic diffs/tree diffs have a completely different set of corner cases to textual diffs. It's a useful resource for anyone exploring this space. https://difftastic.wilfred.me.uk/tricky_cases.html