Method and apparatus for translating source code from one high-level computer language to another
US5768564A · kind A · utility
Assignee
Inventors
Key dates
| Filing date | Oct 7, 1994 |
| Grant date | Jun 16, 1998 |
| Priority date | — |
| Expiry date | Oct 7, 2014 |
Classification
- Technology area (CPC Y)Emerging Cross-Sectional Technologies
- CPC primaryY10S707/99942
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A method, system, apparatus, and program for translating one computer language to another using doubly-rooted tree data structures. A doubly-rooted tree is the combination of two sets of hierarchically related objects sharing a common set of leaves. An N-rooted tree is also described. When a doubly-rooted tree is constructed in the specified manner and then translated to a second doubly-rooted tree, source language code is transformed into target language code. In addition, the translation preserves preprocessor characteristics of the source language code including macros, conditionally compiled regions of code, source inclusion statements, and comments.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.