Git Product home page Git Product logo

Comments (3)

jrfaller avatar jrfaller commented on August 19, 2024

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.

jawilliam avatar jawilliam commented on August 19, 2024

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:

  1. 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.

  2. 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.

jrfaller avatar jrfaller commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.