Transplantation method and source to source compiler
The embodiment of the invention discloses a transplantation method and a source to source compiler, and aims to solve the problem in the prior art that the application program can not carry out cross-platform transplantation. The method comprises the following steps of receiving a common platform al...
Gespeichert in:
Hauptverfasser: | , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The embodiment of the invention discloses a transplantation method and a source to source compiler, and aims to solve the problem in the prior art that the application program can not carry out cross-platform transplantation. The method comprises the following steps of receiving a common platform algorithm source code which is irrelevant with a platform chip framework, is compiled by aiming at an application program and adopts a common operator and a common data type; converting the common operator and the common data type in the common platform algorithm source code to obtain a target platform algorithm source code which conforms to the target platform requirement; and sending the target platform algorithm source code to a target platform complier. In the embodiment, the common platform algorithm source code is used as an intermediate code, the common operator and the common data type of the common platform algorithm source code are converted to obtain the target platform algorithm source code which conforms |
---|