×

Methods and apparatus for automatic translation of a computer program language code

  • US 8,762,962 B2
  • Filed: 06/15/2009
  • Issued: 06/24/2014
  • Est. Priority Date: 06/16/2008
  • Status: Active Grant
First Claim
Patent Images

1. A method, executed by electronic computer hardware in combination with software, for automatic translation of a computer program language code, comprising:

  • tokenizing one or more characters of a source programming language code to generate a list of tokens;

    parsing the list of tokens to generate a grammatical data structure, wherein the grammatical data structure comprises one or more data nodes;

    processing the one or more data nodes of the grammatical data, structure to generate a document object model, wherein the document object model comprises one or more portable data nodes; and

    analyzing the one or more portable data nodes in the document object model to generate one or more characters of a target programming language code;

    normalizing the source programming language, wherein one or more features of the source programming language are managed based on one or more features of the target programming language, comprising;

    identifying one or more non-equivalent and one or more equivalent features from the one or more features in the source programming language, wherein the one or more non-equivalent features and the one or more equivalent features are identified based on the one or more features of the target programming language; and

    removing the one or more non-equivalent features of the source programming language;

    wherein equivalent features are features that are configured to be mapped the source programming language and the target programming language.

View all claims
  • 5 Assignments
Timeline View
Assignment View
    ×
    ×