← Back to Patent Explorer
EP0583117A2 Expired / Lapsed EP ⏱️ 0.0 years remaining

A device and method for converting computer programming languages

Assignee: International Business Machines Corp
•
Filing: 1993-07-30
•
Granted: —
•
Expires: 2013-07-30
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A device and method for converting programming languages that can be applied to program conversion between many computer programming languages. When model statements in an origin language, model statements in a target language, and conversion rules for word (variable) sections are inputted from the screen of a conversion rule input means, a conversion rule generation means generates a conversion rule according to this input and stores it in the conversion rule database. The conversion rule is composed of a search key, a word conversion direction section, and a target language generation program. The search key is used when a conversion rule needed for the conversion of an unconverted origin program is searched for in a database and fetched, the word conversion direction section is used for calling the word conversion table or the word conversion program, and the target language generation program is used for generating a converted target program. The conversion rule input means, conversion rule generation means, and conversion rule drive means do not depend on the origin language and target language of the languages involved in conversion.

Inventors

  • 👤 Shigeichi Ono

Bibliographic Details

Application Number —
Jurisdiction EP
Data Source google_patents
Last Synchronized 2026-10-27 13:34
CPC Classifications
G; G06; G06F; G06F8/00; G06F8/40; G06F8/51

Claims Analysis

Total Claims: 15
Claim 1
Independent Claim 123 words
A device for converting computer programming languages that converts an origin program written in an origin language, which is one computer language, into a target program written in a target language, which is another computer language, comprising: a conversion rule input means for inputting a conversion model expressed by model statements in said origin language and model statements in said target language, a conversion rule generation means for generating conversion rules from said inputted model statements, an origin program input means for inputting said origin program, and a conversion rule drive means for searching for said conversion rules corresponding to said inputted origin program and converting said origin program into said target program according to the content of the searched for conversion rules.
Claim 2
Dependent Claim 39 words
A device for converting computer programming languages as claimed in Claim 1 wherein said model statements can be classified into specific key word sections expressing functions and word sections expressing variables in said origin language and said target language.
Claim 3
Dependent Claim 40 words
A device for converting computer programming languages as claimed in Claim 2 wherein said conversion rule input means also inputs directions for conversion between word sections in said origin language and said target language in addition to said model statements.
Claim 4
Dependent Claim 98 words
A device for converting computer programming languages as claimed in Claim 3 wherein said conversion rule generation means generates a search key that is used for searching said model statements in said origin language for said conversion rule, generates a target language generation program that is used for generating said target program from said model statements in said target language, generates a word conversion direction section that converts said word sections in said origin language into said word sections in said target language according to said conversion direction, and establishes said conversion rules, taking these as a set.
Claim 5
Dependent Claim 36 words
A device for converting computer programming languages as claimed in Claim 4 having a word conversion table and a conversion program for converting said word sections according to the directions of said word conversion direction section.
Claim 6
Dependent Claim 58 words
A device for converting computer programming languages as claimed in Claim 5 wherein said origin program input means changes said origin program into an intermediate form that can be easily collated using said conversion rules and wherein said conversion rule drive means searches for said conversion rules based on said intermediate form by means of said search key.
Claim 7
Dependent Claim 40 words
A device for converting computer programming languages as claimed in Claim 1 wherein said conversion rule input means, said conversion rule generation means, and said conversion rule drive means do not depend on said origin language and said target language.
Claim 8
Dependent Claim 52 words
A device for converting computer programming languages as claimed in Claim 1 wherein a said conversion rule relates a plurality of said model statements of said origin language with said one model statement and converts a plurality of instruction statements of said origin program into one instruction statement of said target program.
Claim 9
Dependent Claim 40 words
A device for converting computer programming languages as claimed in Claim 2 having a search key file storing said search keys of said conversion rules and using said search key file for maintenance, such as changes in said conversion rules.
Claim 10
Dependent Claim 39 words
A device for converting computer programming languages as claimed in Claim 1 having the content inputted by said conversion rule input means as an independent conversion rule text image file for later maintenance, such as modification of conversion rules.
Claim 11
Independent Claim 339 words
A device for converting computer programming languages that converts an origin program written in an origin language, which is one computer language, into a target program written in a target language, which is another computer language, comprising: a conversion rule input means having an origin language input section that inputs a certain instruction statement in said origin language using a model statement that is classified into a key word section expressing functions and a word section expressing variables according to said origin language grammar, a target language input section that inputs an instruction statement in said target language corresponding to the function of said certain instruction statement with a model statement that is classified into a key word section expressing functions and a word section expressing variables according to said target language grammar, and a word conversion input section that inputs rules for conversion between said word sections in said origin language and in said target language, a conversion rule generation means that generates conversion rules that include a section that is generated from the content inputted in said origin language input section and used as a conversion rule search key, a section that is generated from the content inputted in said word conversion input section and used as a word conversion table or a word conversion program call function, and a section that is generated from the content inputted in said target language input section and used as a target language creation program, a conversion rule database that stores said conversion rules, an origin language input means that inputs said origin program, and a conversion rule drive means that fetches said conversion rules corresponding to the inputted instruction statements of said origin program from said conversion rule database by using said conversion rule search key, carries out word conversion by using the fetched word conversion table or word conversion program call function of said conversion rules, creates instruction statements in said target program by using said target language generation program of the fetched conversion rules, and outputs them.
Claim 12
Independent Claim 102 words
A method for converting computer programming languages that converts an origin program written in an origin language, which is one computer language, into a target program written in a target language, which is another computer language, comprising the steps of: inputting a conversion model composed of model statements in said origin language and model statements in said target lauguage, generating conversion rules from said inputted model statements, inputting said origin program, and searching for said conversion rules corresponding to said inputted origin program and converting said origin program into said target program according to the content of the searched for conversion rules.
Claim 13
Dependent Claim 49 words
In a step of inputting said conversion model, a method for converting computer programming languages as claimed in Claim 12 wherein said model statements can be classified into specific key word sections expressing functions and word sections expressing variables respectively in said origin language and in said target language.
Claim 14
Dependent Claim 45 words
In a step of inputting said conversion model, a method for converting computer programming languages as claimed in Claim 13 wherein a direction for conversion between word sections in said origin language and said target language is also inputted in addition to said model statements.
Claim 15
Dependent Claim 106 words
In a step of generating said conversion rules, a method for converting computer programming languages as claimed in Claim 14 wherein a search key is generated that is used for searching said model statements in said origin language for said conversion rules, a target language generation program is generated that is used for generating said target program from said model statements in said target language, a word conversion direction section is generated that converts said word section in said origin language into said word section in said target language according to said conversion directions, and having said conversion rules that take these as sets are established.

References Cited (Backward Citations)

No citation records indexed.

USPTO Annuity & Maintenance Windows

Maintenance schedule is calculated for granted US utility patents.

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag