diff options
Diffstat (limited to 'readme')
-rw-r--r-- | readme | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -18,15 +18,14 @@ Internals: | |||
18 | 18 | ||
19 | The tool uses tree-sitter to produce ASTs for the given files. It then lazily | 19 | The tool uses tree-sitter to produce ASTs for the given files. It then lazily |
20 | traverses the trees of the two files to be compared and exits on encountering | 20 | traverses the trees of the two files to be compared and exits on encountering |
21 | the first structural difference in the ASTs. | 21 | the first structural difference in the ASTs. Additionally, it performs a |
22 | textual similarity check to eliminate outliers such as files that consist | ||
23 | entirely of trivia nodes. | ||
22 | 24 | ||
23 | 25 | ||
24 | Known issues: | 26 | Known issues: |
25 | ------------ | 27 | ------------ |
26 | 28 | ||
27 | - A fully commented-out file is equivalent to every other fully commented-out | ||
28 | file and to empty files | ||
29 | |||
30 | - Does not account for equivalence of unordered children: | 29 | - Does not account for equivalence of unordered children: |
31 | 30 | ||
32 | ==== file1.rs ==== ==== file2.rs ==== | 31 | ==== file1.rs ==== ==== file2.rs ==== |