A method and system for calling static compiled language and scripting language

A technology of scripting language and compiled language, which is applied in the calling method and system field of static compiled language and scripting language, and can solve problems such as uncontrollable stack, redundant coding, and prone to loopholes

Active Publication Date: 2021-04-09
MICRO DREAM TECHTRONIC NETWORK TECH CHINACO
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the prior art, the static compiled language interacts with the scripting language through virtual stack interaction, but generally the stack interaction operation and business logic are mixed together, so that the stack becomes uncontrollable and prone to bugs, and the scripting language execution end is Strong typing, which leads to coding redundancy

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
  • A method and system for calling static compiled language and scripting language
  • A method and system for calling static compiled language and scripting language
  • A method and system for calling static compiled language and scripting language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0069] The purpose of the present invention is to provide a method for invoking a statically compiled language and a scripting language. An intermediate layer is encapsulated between the host program end and the scripting language execution end to adapt to the interaction between the two languages, that is, through the virtual machine and the scripting language respectively. The host program terminal and the script language execution terminal perform informatio...

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 embodiment of the present invention provides a method and system for invoking a statically compiled language and a scripting language. The invoking method for the statically compiled language and scripting language includes: storing a plurality of functions to be processed sent by the host terminal; send the function parameter sent by the terminal; send the function to be processed corresponding to the function parameter to the execution terminal of the script language, and send the function parameter to the host terminal; receive the operation result pressed by the host terminal; run The result is sent to the scripting language execution end, so that the scripting language execution end executes scripting language compilation according to the operation result and the function to be processed. The present invention performs information interaction with the host program terminal and the script language execution terminal respectively through the virtual machine, so that the two languages ​​interact seamlessly, can realize accurate calling of information, reduce the vulnerability trigger rate in the development process, and improve the development efficiency.

Description

technical field [0001] The invention relates to the technical field of computer programming languages, in particular to a calling method and system for statically compiled languages ​​and script languages. Background technique [0002] In the prior art, program services written in statically compiled languages ​​need to be recompiled and restarted when they are modified. In this mode, it is acceptable for software services with large changes in requirements and long iteration cycles, but obviously for fast-iterative application services. The update efficiency is too low, and the debugging cost is high for statically compiled classes. [0003] In the course of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0004] In the prior art, the static compiled language interacts with the scripting language through virtual stack interaction, but generally the stack interaction operation and business logic are mixed...

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 & AuthorityPatents(China)
IPC IPC(8): G06F8/41G06F8/30
CPCG06F8/30G06F8/41
Inventor郝忠秀任文越
OwnerMICRO DREAM TECHTRONIC NETWORK TECH CHINACO