gumtree
gumtree copied to clipboard
An awesome code differencing tool
The current version truncates the labels of nodes in the `.dot` output file (see code [here](https://github.com/GumTreeDiff/gumtree/blob/3c4d12602bf30a808c5937062592075ea79ab3d3/client.diff/src/main/java/com/github/gumtreediff/client/diff/dotdiff/DotDiff.java#L106)). It would be helpful if this feature could be turned off or the length...
Hi, it would be great to have support for s-expressions. We might implement our own parser, or reuse some code: - https://github.com/antlr/grammars-v4/blob/master/sexpression/sexpression.g4 - @julianmendez's https://github.com/julianmendez/jsexp cc/ @jacarte
Hey there, i was just set on a new Project to find a difftool for PLSQL and i recently found gumtree. I already have the antlr4 grammar and parser for...
Hello, I just realized **JdtVisitor** ignores the `optionalTagName` while visiting `TagElement`. _Code:_ ``` /** @author john */ class C {} ``` _Generated tree:_ ``` CompilationUnit [0,31] TypeDeclaration [0,31] Javadoc [0,19]...
maven dependency ` com.github.gumtreediff gen.treesitter 4.0.0-beta2 ` this is code: `Run.initGenerators(); String srcFile = "/Users/haoyu/Downloads/java17-gumtree/a.java"; String dstFile = "/Users/haoyu/Downloads/java17-gumtree/c.java"; Tree src = TreeGenerators.getInstance().getTree(srcFile).getRoot(); Tree dst = TreeGenerators.getInstance().getTree(dstFile).getRoot(); Matcher defaultMatcher =...
It would be great to review pull requests on Github using gumtree for diffing on the "Files" tab (instead of the default line diff by Github). A browser extension would...
Hello, This is a fix for a very old issue https://github.com/GumTreeDiff/gumtree/issues/39. The implementation might not be the best one, and I am very eager to improve it based on your...
when I use gen.treesitter-ng parse go file, throw ClassCastException. The complete exception stack is as follows: `Exception in thread "main" java.lang.ClassCastException: class java.util.ArrayList cannot be cast to class java.util.Map (java.util.ArrayList...
I'm trying to use gumtree for finding some move action, the test files I use can found here: https://github.com/jina-ai/clip-as-service/commit/eafb30f0e76a1ab275d36cc852f58114b2fc019b the python file: server/bert_serving/server/__init__.py. [diff file.zip](https://github.com/user-attachments/files/17449642/diff.file.zip) I run the command to...
This feature is useful for nodes in the AST of source code (and even bytecode) that are independent of order. For example, import statements, method declarations. etc. The change would...