Compiling method and device of Haxe application program and electronic device

A technology of application programs and compilation methods, applied in the field of computer language programs, can solve the problems of Haxe program library source codes being directly disclosed, unable to complete construction, and low work efficiency

Pending Publication Date: 2019-11-15
GUANGDONG SANWEIJIA INFORMATION TECH CO LTD
View PDF3 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Currently, according to Haxe's existing build process, software developers need to obtain the source code of all referenced Haxe libraries when building a Haxe application or Haxe library, otherwise the build cannot be completed
In the actual software collaborative development process, different Haxe program libraries may be developed by different teams, and the teams may be based on various reasons (such as confidentiality reasons), and it is not convenient to directly disclose the source code of the Haxe program library developed by the team For software developers of other teams; moreover, the construction method of compiling all Haxe source codes at one time, the compilation speed will be slower, which is inefficient in terms of work efficiency

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
  • Compiling method and device of Haxe application program and electronic device
  • Compiling method and device of Haxe application program and electronic device
  • Compiling method and device of Haxe application program and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] In order to facilitate the understanding of this embodiment, a method for compiling a Haxe application program disclosed in the embodiment of the present invention is firstly introduced in detail, referring to figure 1 , the compiling method of the Haxe application may include the following steps:

[0026] Step S101, acquiring at least one Haxe program library and an extended Haxe compiler.

[0027] In the embodiment of the present invention, when a software developer uses the Haxe language to develop a Haxe program library, in addition to writing the source code of the Haxe program library, an external Haxe program library may also be referenced. Existing Haxe compiler can not support all functions of the embodiment of the present invention, and supported function is for example: support generates static link library file, the function that does not support such as static link library file only links with the main program that non-Haxe language writes, Run, that is, t...

Embodiment 2

[0085] refer to Figure 4, the embodiment of the present invention provides a compiling device of a Haxe application program, which is used to implement a compiling method of a Haxe application program, and the device may include the following modules:

[0086] Obtaining module 11 for obtaining at least one Haxe program library and an extended Haxe compiler;

[0087] The first compilation module 12 is used to compile the source code of the Haxe program library by using the extended Haxe compiler to obtain the compilation result of the Haxe program library of the preset target platform;

[0088] The second compilation module 13 is used to set the Haxe program library compilation result as the configuration item in the compilation configuration file of the Haxe main program, and utilizes the extended Haxe compiler to compile the Haxe main program based on the configuration item to generate a preset target platform executable file.

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

The invention provides a compiling method and device for a Haxe application program and an electronic device, and relates to the technical field of computer language programs, and the method comprisesthe steps: obtaining at least one Haxe program library and an extended Haxe compiler; compiling the source code of the Haxe program library by using an extended Haxe compiler; and setting a compilingresult of the Haxe program library as a configuration item in a compiling configuration file of the Haxe main program, and compiling the Haxe main program by utilizing an expanded Haxe compiler basedon the configuration item to generate an executable file of a preset target platform. According to the method, the Haxe program library is compiled firstly, then the Haxe main program is compiled onthe basis of the compiling result of the Haxe program library, compiling of the Haxe application program is completed under the condition that source codes of the Haxe program library are not introduced, the compiling speed is increased, and then the working efficiency of programmers is improved.

Description

technical field [0001] The invention relates to the technical field of computer language programs, in particular to a compiling method, device and electronic equipment of a Haxe application program. Background technique [0002] Currently, according to Haxe's existing build process, when building a Haxe application or Haxe library, software developers need to obtain the source code of all referenced Haxe libraries at the same time, otherwise the build cannot be completed. In the actual software collaborative development process, different Haxe program libraries may be developed by different teams, and the teams may be based on various reasons (such as confidentiality reasons), and it is not convenient to directly disclose the source code of the Haxe program library developed by the team For software developers of other teams; moreover, the construction method of compiling all Haxe source codes at one time, the compilation speed will be slower, which is inefficient in terms o...

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): G06F8/41
CPCG06F8/44
Inventor 邝耀宗陈江豪
Owner GUANGDONG SANWEIJIA INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products