Skip to content

RFP : a unified TreeDiff serialization format #112

@jrfaller

Description

@jrfaller

Hi all,

I think it would be really nice to have a better machine processable output format for GumTree. Right now there is mainly the JSON and free text output that are not very useful (see here and here.

For instance, it is not even possible to use those diff outputs to build a GUI because it lack a huge number of information (such as filename, text positions, ...).

Therefore I think it's high time that we do something better. I think that using JSON or XML is the way to go, but I am not sure which information it would be interesting to have. Right now we have only matched nodes as well as actions. Only information on trees are node IDs in the JSON which I think is not enough, and textual type inside. Information about action is its type and parameters which I think is good.

What do you think we should include in GumTree's output? Don't hesitate to comment (you can even include snippets 😄).

Cheers!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions