Comments (3)
Strange, using latest GumTree version and your archive, I obtain the exact same diff (8 insert and 1 update). Maybe this was due to a threshold difference. Don't hesitate to reopen the bug if it happens again.
from gumtree.
Ok, jrfaller.
I finally conducted my studies over the DIFF variant, but I will be reporting more issues if I find them. You have done a good work here.
By the way, it has been longer since I shared you my interest to customize GumTree in some ways:
-
Execute it over a different AST-technology for C#. For example:
a. Roslyn instead the current SrcML.
b. SrcML's AST enriched with additional information. -
Intercepting the matching or the difference phases (before it starts, when it is on going, and after it finished).
As GumTree already supports different parser technologies, I think at least the first one seems doable. But, I do not how, nor if the second one is possible too. In any case, I would appretiate so much your guidance or help. Is that possible?
Regards.
from gumtree.
Hi!
I definitively think that having a better parser than srcML, such as Roslyn would be very nice, since is not Java, it would require to code a native tool that produce XML out of a cs file that would be launched under the hood by GumTree and converted to GumTree's internal format. This is how we do for srcml, C and python for instance.
Regarding your idea to place hooks on the matching phase, I did not think of that but it seems possible to do, but I am curious to know why do you think it can be useful? Perhaps to add pre or post processing?
In any case, if you want to try to add features to GumTree, I will help you.
Cheers!
from gumtree.
Related Issues (20)
- No syntax exception raised in some cases for JDT HOT 16
- Order ignored? HOT 3
- Respect .gitignore HOT 9
- `textdiff` has inconsistent range output between formats HOT 3
- Support for renaming files HOT 1
- Docker Image HOT 1
- Reversed left and right in git gd command HOT 1
- Steps to get AST Diff for Python Files HOT 5
- ClassNotFound `org/simmetrics/StringMetrics` HOT 15
- Can't generate a parse tree I get this error HOT 1
- ast diff in with gumtree in the browser for file diff on Github
- generate edit script through command HOT 3
- use gumtree diff two commit edit script HOT 2
- use treesitter parse ast failed HOT 4
- JdtVisitor ignores optionalTagName for javadocs HOT 9
- What is the difference between monaco, classic, monaco-native? HOT 5
- Including PLSQL HOT 15
- Is there a version supported by jdk8? HOT 1
- [Question] Why does deepCopy not copy over metadata? HOT 2
- parse go throw ClassCastException HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gumtree.