News for hackers. Stuff that matters.
Re:Difftastic, a structural diff tool that understands syntax by DarkPlayer on Thursday March 21, 2024 @03:12PM (#39783065)
> I am curious if there's been any work on _semantic_ diff tools as well (for when eg the syntax changes but the meaning is the same)

We are working on https://semanticdiff.com/ which detects basic semantic changes like converting a literal from decimal to hex or reordering keys within JSON objects. It is not a command line utility but a VS Code extension and GitHub App. You can check out https://semanticdiff.com/blog/semanticdiff-vs-difftastic/ if you want to learn more about how it works and how it differs from difftastic.

Re:Difftastic, a structural diff tool that understands syntax by Izikiel43 on Thursday March 21, 2024 @06:20PM (#39785134)
Thank you, you just simplified my life greatly, will use it for a demo tomorrow.