发明名称 |
System and method of universal programming language conversion |
摘要 |
An apparatus and method for universal programming language conversion between two different sequential programming languages, e.g., sequential procedural and sequential object oriented programming languages. In particular, conversion is between a source program in a first programming language and a target program in a second programming language. Initially, the source program in the first programming language is parsed using a parsing interface specific to the first programming language. All syntax from the parsed source program is then stripped or removed. Classes in a framework are instantiated to capture semantics of the parsed source program independent of syntax and execution model of the sequential programming languages. The classes are C++ classes representing fundamental core constructs of all sequential programming languages. A semantic representation of the parsed source program without any syntax is produced. The semantic representation is received at a printer interface specific to the second programming language and syntax of the target program in the second programming language is added. This same process can be used for either high-level conversion or compilation depending on whether the target programming language is high level or low level, respectively.
|
申请公布号 |
US2005050525(A1) |
申请公布日期 |
2005.03.03 |
申请号 |
US20030647676 |
申请日期 |
2003.08.25 |
申请人 |
CHITTAR RAJENDRA S.;KALE OJAS A.;KULKARNI VIVEK D. |
发明人 |
CHITTAR RAJENDRA S.;KALE OJAS A.;KULKARNI VIVEK D. |
分类号 |
G06F;G06F9/44;G06F9/45;(IPC1-7):G06F9/45 |
主分类号 |
G06F |
代理机构 |
|
代理人 |
|
主权项 |
|
地址 |
|