Automaton method for script language

A scripting language and scripting language code technology, applied in the automaton field of scripting language, can solve the problems of insufficient portability, large hardware resource consumption, redundant software code, etc., and achieve portability and platform independence reduction, Avoiding the complexity and the large size of the interpreted system, the effect of simplifying the compilation step and the interpreting step

Inactive Publication Date: 2006-10-04
HUAWEI TECH CO LTD
View PDF0 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the software code is strongly dependent on the processing object, the change of the processing object will directly lead to the upgrade of the software
Moreover, the software code is redundant and the amount of software code is large, which makes the maintenance workload very large and the cost increases
In addition, the ever-changing software code has to depend on the specific system and hardware environment, which is not conducive to transplantation.
[0010] In practical application, the above solution has the following problems: large resource consumption and high cost; not flexible enough and not strong enough in portability; redundant code and low development efficiency
[0011] The main reason for this situation is that if a traditional compiler or interpreter is used to implement the compilation or interpretation of the scripting language, it will require a huge amount of manpower and material resources to develop the compiler and interpreter system, and compile The flexibility of the interpreter is not strong enough, and the interpreter will consume a lot of hardware resources when running; if the code is directly compiled for a specific application, the code lacks versatility and the development efficiency is low

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
  • Automaton method for script language
  • Automaton method for script language
  • Automaton method for script language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0051] The invention adopts the method of compiler plus interpreter to realize the script automaton, which combines the advantages of compiling and interpreting, so that the script language automaton has the characteristics of high efficiency and flexibility, and has universality and portability.

[0052] First, analyze the custom simple script language, such as syntax analysis and lexical analysis, to obtain the operation structure of various statements; then the script language is compiled by the compiler, that is, the script language code is converted into intermediate language code, intermediate language code It is realized through variable memory tables of several different data structure types. The compiler builds these memory tables for the interpreter to in...

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 related self-acting method for script language comprises: to exact engineering request, setting simple script language standard and intermediate language standard expressed by data structure convenient to compile, explain and interpret. This invention simplifies script self-acting method, embeds script language self-actor into engineering, and has platform independence feature.

Description

technical field [0001] The invention relates to computer language compiling, interpretation and execution methods, in particular to the automaton method of script language. Background technique [0002] The operation of the computer is carried out according to the computer program written in the computer language. There are many types of computer languages, which can be divided into three categories: machine language, assembly language, and high-level language. The only language that computers can recognize is machine language, which is a code composed of 0s and 1s. But usually when people program, they don't use machine language because it is very difficult to remember and recognize. The essence of assembly language is the same as that of machine language, which directly operates on the hardware, but the instructions use English abbreviated identifiers, which are easier to recognize and remember. It also requires programmers to write out each specific operation in the fo...

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 HUAWEI 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