Cross-language compilation method and device

    公开(公告)号:US12061885B2

    公开(公告)日:2024-08-13

    申请号:US17484504

    申请日:2021-09-24

    CPC classification number: G06F8/51 G06F8/315 G06F8/434 G06F9/4552

    Abstract: A compilation method includes obtaining a source program code. The source program code includes a first function in a first language code and a second function in a second language code. The first language code is a native language. The second language code is a non-native language. The method also includes generating a third language code based on the source program code. The third language code includes a third function, a fourth function and a fifth function. The third function is generated based on the first function. The fourth function is generated based on the second function. The fifth function is generated based on the first function and the second function. Executing the third function invokes the fourth function via the fifth function.

Patent Agency Ranking