Computer Program Product and Computer System for Language-Enhanced Programming Tools
AssigneeInternational Business Machines Corporation
InventorsBaiju Dalal, Mohit Kalra
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorsBaiju Dalal, Mohit Kalra
Estimating the term…
Statements of a computer program expressed using a first source natural language are made meaningful to a programmer familiar with a second target natural language. The first source natural language of the computer program is determined from the programmer, or through analysis, and the second target natural language desired by the programmer is selected. Textual constructs may be parsed, with reference to stored coding conventions to determine meaningful lexical tokens. Such tokens are translated with a translation engine, and displayed to the programmer, desirably using a graphical user interface feature of an integrated development environment (IDE) for computer programming in a particular programming language.
1-14. (canceled)
A computer program product for translating statements from a source natural language to a target natural language, the computer program product including a computer readable storage medium having instructions stored thereon for execution by a computer, wherein the instructions, when executed by the computer, cause the computer to implement a method comprising the steps of:
The computer program product of 15, wherein the method implemented by the computer executing the instructions of the computer program product further comprises the step of the computer system analysing the computer program source code to determine the source natural language to be used for the steps of translating the identified source code and debug information textual constructs.
The computer program product of 15, wherein the method implemented by the computer executing the instructions of the computer program product further comprises the step of the computer system receiving input, wherein the input specifies the target natural language.
The computer program product of 15, wherein the method implemented by the computer executing the instructions of the computer program product further comprises the step of the computer system caching translated source code and debug information textual constructs for subsequent use.
The computer program product of 15, wherein the identifying of the source code textual constructs by the computer system includes the computer system identifying ones of the source code textual constructs of the computer program responsive to definitions of the source code textual constructs identified automatically by the computer system from source code of the computer program.
The computer program product of 15, wherein the identifying of the source code textual constructs by the computer system includes the computer system identifying ones of the source code textual constructs of the computer program responsive to definitions of the source code textual constructs identified from textual input supplied by a programmer.
The computer program product of 15, wherein the method implemented by the computer executing the instructions of the computer program product further comprises the step of displaying the translated source code and debug information textual constructs in part of a graphical user interface.
A computer system comprising:
Dependencies are inferred from the claim text.