I'm reading papers about tree diff techniques, to try to improve my structural diff tool.
Most papers focus on diffing XML. Their techniques are clever and relevant, but crikey some of the intro quotes really haven't aged well.
I'm adding XML support for difftastic! Still needs some tweaking, but the initial results look promising.
XML is particularly fun because early academic research on tree-diffing focus on XML.
Wilfred Hughes
Shared words: diffing, tree, focus, XML
Score: 111.3
Have you ever wondered what happens if you hook up a lexer to a diff algorithm? I was feeling smart until I built it and saw the result.
The longest common subsequence here is ( ) ( ) ; which is not terribly helpful. I'm going to have to look at proper tree diffing techniques.
My syntactic diff tool basically works!
Diffing trees and printing them in a comprehensible way is extremely tricky. I'm hoping to get something I can release once I've hammered out the bugs.
WIP code is at https://github.com/wilfred/difftastic