Invention Application
- Patent Title: CROSS-LANGUAGE COMPILATION METHOD AND DEVICE
-
Application No.: US17484504Application Date: 2021-09-24
-
Publication No.: US20220012029A1Publication Date: 2022-01-13
- Inventor: Yi JIANG , Yongjian CHEN , Chao ZHANG , Junmin ZHAO , Yan ZHANG
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen
- Priority: CN201910228528.7 20190325
- Main IPC: G06F8/51
- IPC: G06F8/51 ; G06F8/41 ; G06F9/455 ; G06F8/30

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.
Public/Granted literature
- US12061885B2 Cross-language compilation method and device Public/Granted day:2024-08-13
Information query