System and method for source code translation using stream expressions
US11487521B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Mar 3, 2020 |
| Grant date | Nov 1, 2022 |
| Priority date | — |
| Expiry date | Mar 3, 2040 |
Classification
- Technology area (CPC G)Physics
- CPC primaryG06F8/427
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A system and method to translate source code in a source language executable in a source computing system to a target language executable in a target computing system. Source code in the source language is parsed to generate a corresponding parse tree containing at least one tree node and at least one leaf. During traversal of the parse tree, at least one mutation script is applied. The mutation script directs at least one of: generating a stream expression comprising at least one token corresponding to values of the at least one node and the at least one leaf of the parse tree; and formulating at least one text output containing a text pattern specified in the mutation script and/or values of the at least one token. Source code in the target language is outputted based on the at least one text output.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.