Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Program compiling device and method for compiling program

A compiling method and program compiling technology, applied in the direction of program control design, instrument, electrical digital data processing, etc., to achieve the effect of solving the client script conversion problem

Active Publication Date: 2012-06-27
YONYOU NETWORK TECH
View PDF3 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] The technical problem to be solved by the present invention is to provide an intelligent on-demand compilation solution, which can perform partial compilation or specify specific object compilation according to actual needs, and solve the problem of some client-side scripts that do not support compilation conversion problem

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
  • Program compiling device and method for compiling program
  • Program compiling device and method for compiling program
  • Program compiling device and method for compiling program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0024] In the following description, many specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, therefore, the present invention is not limited to the specific embodiments disclosed below limit.

[0025] figure 1 is a block diagram of a program compiling device according to an embodiment of the present invention.

[0026] Such as figure 1 As shown, the present invention provides a program compiling device 100, including: a grammar tree construction module 102, which generates a grammar tree according to the class file of the class corresponding to the method to be compiled; an information ext...

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 program compiling device and a method for compiling a program. The program compiling device comprises a syntax tree building module, an information extraction module, an analysis module, a collecting module and a compilation module, wherein the syntax tree building module generates a syntax tree according to a class file of a class corresponding to a method to be compiled, the information extraction module acquires class information of all class nodes from the syntax tree, the class information includes a class method, the analysis module selects method nodes from the syntax tree according to the method to be compiled and the class information, the collecting module acquires the method to be compiled in the method nodes and the attribute of the method to be compiled, and the compiling module compiles the method to be compiled and the attribute of the method to be compiled. In the technical scheme, the syntax tree is built, accordingly, the method to be compiled and the attribute of the method to be compiled are extracted, and compilation can be realized according to needs.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a program compiling device and a program compiling method. Background technique [0002] Currently in web system development, writing javascript is a tedious and error-prone process. However, many dynamic functions on the front page require the support of javascript, especially today's AJAX (Asynchronous JavaScript XML, asynchronous Javascript and XML technology, using This technology can realize the asynchronous interaction between the webpage and the server, which makes the user's experience of the system smoother) The technology is widely used, which makes the use of javascript more frequent. [0003] At present, in the development of Web systems (referring to application systems developed based on the World Wide Web / Enterprise Network), since javascript is a scripting language, its source code does not need to be compiled before being sent to the client to run, but ...

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
Inventor 丑洪亮邓君涛
Owner YONYOU NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products