Invention Grant
- Patent Title: Method for compiling a source code
-
Application No.: US15445706Application Date: 2017-02-28
-
Publication No.: US10365902B2Publication Date: 2019-07-30
- Inventor: Alexander Vladimirovich Slesarenko , Alexey Romanov , Hongbo 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
- Agency: Leydig, Voit & Mayer, Ltd.
- Main IPC: G06F9/44
- IPC: G06F9/44 ; G06F9/445 ; G06F9/45 ; G06F8/41 ; G06F8/30

Abstract:
The invention relates to a method for compiling a source code to a program code, the method comprising: providing a pattern graph based on the source code, the pattern graph corresponding to an intermediate representation of the source code according to a set of rules in a first programming language, wherein the set of rules comprises a specific replacement rule directing a pattern graph to be replaced by a corresponding replacement graph assigned to the pattern graph, replacing the pattern graph by the replacement graph assigned to the pattern graph, and generating the program code based on the replacement graph.
Public/Granted literature
- US20170177313A1 METHOD FOR COMPILING A SOURCE CODE Public/Granted day:2017-06-22
Information query