Skip to content
Discussion options

You must be logged in to vote

We developed our own AST-based diffing algorithms from scratch for SemanticDiff. Therefore, SemanticDiff does not depend on diffsitter or difftastic.

In order to generate a diff, we first need to convert the source code into an AST by parsing it. While some of our parsers are based on tree-sitter, not all of them are. If an official parser is offered by the language and exposes all the necessary information, we usually prefer it to third-party grammars or parsers, as the official ones are generally more accurate and up to date.

If you would like to find out more about the libraries and dependencies used by SemanticDiff, please refer to the ThirdPartyLicenses.txt file included with the VS …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Malix-Labs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants