Enhanced source code translator from procedural programming language (PPL) to an object oriented programming language (OOPL)
US6523171B1 · kind B1 · utility
Assignee
Inventors
Key dates
| Filing date | Nov 29, 1999 |
| Grant date | Feb 18, 2003 |
| Priority date | — |
| Expiry date | Nov 29, 2019 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/51
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method for translating source code programs written in a procedural computer language in source code programs written in an Object Oriented language. The method of the invention provides a parser which adds to the lexicographic and syntactical analysis of the source code a semantic analysis: a parser is written for identifying the semantic patterns in the source code. At execution, the parser reads the instructions of the procedural language and classify the sequences of instructions identified as using a known pattern. According to the matched patterns, the parser creates different categories of classes containing both functional (linearly translated code) or references to other object instances. Each time an object is discovered in the code it is stored in an Object Dictionary with its description and reused when referred later in the code. The parser is executed for each program and at each execution new classes and new objects are created; when all the programs are translated the OO classes and objects form the target object model.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.