×

Language-enhanced programming tools

  • US 7,412,388 B2
  • Filed: 12/12/2003
  • Issued: 08/12/2008
  • Est. Priority Date: 12/12/2003
  • Status: Expired due to Fees
First Claim
Patent Images

1. A method for translating statements from a source natural language to a target natural language, the method comprising the steps of:

  • a) identifying, by a computer system, textual constructs of source code of a computer program, the textual constructs including words in a source natural language, wherein the words are to be translated to a target natural language and the textual constructs include statements, expressions, comments, variable declarations and function names, the textual constructs being denoted in respective ways corresponding to respective coding style conventions, and wherein the coding style conventions include;

    a first convention wherein a function or variable name is denoted in the source code in a way wherein words of the name are joined by a predetermined separator or preceded by a predetermined character, anda second convention denoting a comment in a way wherein words of the comment are delimited by a pair of predetermined delimiters;

    wherein the method further includes the computer system;

    b) identifying lexical tokens from the identified textual constructs;

    c) translating the identified textual constructs, including the lexical tokens, from the source natural language to the target natural language;

    d) reconstructing the translated textual constructs, including the lexical tokens, as translated source code textual constructs;

    wherein the method further includes, for debug information generated by a compiler responsive to the compiler compiling executable code from the source code, the steps of;

    e) identifying, by the computer system, textual constructs of the debug information corresponding to ones of the textual constructs of the source code identified in a); and

    f) translating the identified textual constructs of the debug information, including the lexical tokens, from the source natural language to the target natural language; and

    g) displaying the source code and debug information translated textual constructs in the target natural language.

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