search for: srcml

Displaying 2 results from an estimated 2 matches for "srcml".

Did you mean: srcm
2017 Mar 23
0
[GSoC 2017] Clang-based diff tool project
I am currently considering the gumtree algorithm which is described in [1]. It is able to detect code moves, updates. There is also a java implementation of gumtree. It supports C++ via srcML, however this seems to be quite incomplete and buggy. The algorithm consists of a top down and a bottom up traversal of the AST that result in a matching of corresponding nodes. It contains some heuristics similarity measurement. Greg Clayton <clayborg at gmail.com> writes: > My original...
2017 Mar 23
5
[GSoC 2017] Clang-based diff tool project
My original idea was to write a semantic diff tool that just does some simple things up front: create an MD5 from all top level blocks of the code. Start by just finding matching blocks of code ('{' and '}', '(' and ')') and remember the source locations for these and their MD5 values. Run a normal diff on the code and see what blocks the diffs fall into. Then try