Compilable C++ version of X-diff: http://pages.cs.wisc.edu/~yuanwang/xdiff.html