Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for compiling a source code in a first programming language to a program code in a second programming language

A technology of programming language and program code, which is applied in the field of Ming Dynasty, can solve complex tasks and other problems, achieve good performance and promote the effect of development

Active Publication Date: 2017-08-29
HUAWEI TECH CO LTD
View PDF2 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although much easier than implementing a compiled program, it is still a complex task

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for compiling a source code in a first programming language to a program code in a second programming language
  • Method for compiling a source code in a first programming language to a program code in a second programming language
  • Method for compiling a source code in a first programming language to a program code in a second programming language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0108] The following detailed description refers to the accompanying drawings, which form a part hereof, and which show by way of illustration certain aspects in which the invention may be practiced. It is to be understood that other aspects may be utilized and structural or logical changes may be made without departing from the scope of the present invention. Accordingly, the following detailed description is not to be taken as limiting, but the scope of the present invention is defined by the appended claims.

[0109] The devices and methods described herein may be based on coherent optical signal transmission and reception. It should be understood that comments made in connection with a described method may equally apply to a corresponding device or system for performing the method and vice versa. For example, if specific method steps are depicted, a corresponding apparatus may contain means for performing the described method steps, even if such means are not explicitly d...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

A method (1500) for compiling a source code in a first programming language to a program code in a second programming language includes: generating (1501) a graph based on the source code, the graph corresponding to a first programming language specific intermediate representation of the source code; transforming (1502) the graph from the first programming language specific intermediate representation to a second programming language specific intermediate representation; and generating (1503) the program code based on the second programming language specific intermediate representation of the graph.

Description

technical field [0001] The invention relates to a method for compiling source code in a first programming language, in particular a domain specific language (DSL), into program code in a second programming language, The second programming language is specifically a model specific language (model specific language, MSL), and the present invention also relates to a first programming language-specific specializer, specifically, a domain-specific specializer (domain specific specializer, DSS). The invention further relates to implementation methods for domain specific languages. The method can be used to provide an executable program to run on a processor. Background technique [0002] Many applications require high performance computing. To meet this need, programmers rely on low-level and often architecture-specific programming models (e.g., OpenMP for symmetric multiprocessor systems (SMP), CUDA, MPI for clusters). Programming using these frameworks often requires a deep...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/45
CPCG06F8/51
Inventor 亚历山大·尼古拉耶维奇·菲利波夫张洪波亚历山大·弗拉基米罗维奇·斯莱萨连科
Owner HUAWEI TECH CO LTD