Difftastic is a unique CLI diff tool that compares files based on syntax rather than line-by-line, making it easier for humans to read accurate changes. By using tree-sitter, Difftastic can identify inner expressions that haven’t changed and ignore formatting modifications, visualizing wrapping alterations with precision. It also provides real line numbers for better understanding. Surprisingly, Difftastic supports a wide range of programming languages and is fully open-source under the MIT license, allowing users to download, modify, and share it freely. Created by Wilfred Hughes using Emacs and coffee, Difftastic offers a convenient and efficient solution for developers.
https://difftastic.wilfred.me.uk/