×

Efficiently transforming a source code file for different coding formats

  • US 10,394,537 B2
  • Filed: 01/10/2017
  • Issued: 08/27/2019
  • Est. Priority Date: 01/10/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method of transforming a source code file for different coding formats comprising:

  • generating a source code file in accordance with a first coding format employed by a first user, wherein generating the source code file comprises;

    converting the source code file to a preference-neutral source code file by stripping the first coding format from the source code file;

    parsing the preference-neutral source code file into a first plurality of elements of a first tree structure; and

    storing the first tree structure in a repository;

    in response to a request for the generated source code file from a second user employing a different coding format;

    transforming the generated source code file to the different coding format employed by the second user;

    presenting the transformed source code file to the second user in the different coding format;

    receiving changes by the second user to the source code file in the different coding format;

    converting the source code file in the different coding format to a second preference-neutral source code file by stripping the different coding format from the source code file;

    parsing the second preference-neutral source code file into a second plurality of elements of a second tree structure;

    retrieving the first tree structure from the repository and comparing each of the first plurality of elements of the first tree structure to the second plurality of elements of the second tree structure to identify substantive modifications in the second plurality of elements, wherein a substantive modification is identified when comparing an element of the first plurality of elements to a corresponding element of the second plurality of elements indicates a difference in content between the compared elements, and wherein the first and second tree structures include a document object model; and

    applying the substantive modifications to the first tree structure to modify the source code file.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×