This is a pure-Python script which builds on top of difftastics --display json to provide:
- more ergonomic and ready to use JSON output
- slightly styled HTML table (mimics
side-by-side)
it addresses following shortcomings of current (v0.51.1) JSON output:
- line-scoped changes within block-scoped
chunksare unordered (different each time), had to be sorted byrhs.line_numberthenlhs.line_number - there seems to be a lot of conscutive single-character entries of same type (
highlight) for some (probably unknown?) languages, those are merged
addresses Wilfred/difftastic#45
