Compilation of embedded language statements in a source code program
US6378126B2 · kind B2 · utility
Assignee
Inventor
Key dates
| Filing date | Sep 29, 1998 |
| Grant date | Apr 23, 2002 |
| Priority date | — |
| Expiry date | Sep 29, 2018 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/41
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
Disclosed is a system and method for compiling a program. A source program including program statements in a first computer language, such as C++, Fortran, Java, etc., and embedded statements in a second computer language, such as SQL, is processed. A determination is made as to whether a program statement is in one of the first and second languages. The statement is lexically scanned and parsed into a parse tree if the statement is in the first language. If the statement is in the second language, then the statement is lexically scanned. Then a plurality of function calls capable of executing the statement are accessed and translated to at least one parse tree. The parsed statements are converted into target code.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.