Check patentability & draft patents in minutes with Patsnap Eureka AI!

Method and device for parsing and running computer script

An operating method and a technology for operating equipment, applied in computing, program control design, instruments, etc., can solve the problems that users can only wait, not fully compatible, waste of manpower and material resources, etc.

Active Publication Date: 2017-07-14
ASAT CHINA TECH +1
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The grammatical rules of a scripting language are designed by the developer of the scripting language. Although the developer of the scripting language can continuously update the version of the scripting language based on the feedback from its users to better meet the needs of users, but in There are the following problems in this process: (1) The version update takes a certain amount of time, during which time users can only wait
(2) After the user replaces the new version of the scripting language, it is necessary to reorganize the programmers to learn to use it
(3) The new version may not be fully compatible with the previous version, which may cause the previously written script to become invalid
The above situation will cause a lot of waste of manpower and material resources to the user

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 and device for parsing and running computer script
  • Method and device for parsing and running computer script
  • Method and device for parsing and running computer script

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purpose, technical solution and advantages of the present invention clearer, the following will further describe the implementation of the present invention in detail in conjunction with the accompanying drawings.

[0042] The first embodiment of the present invention relates to a method for parsing and running a computer script, such as figure 1 As shown, a first keyword representing a note is reserved in the computer script, so that the operation required by the user can be set by using this keyword.

[0043] In step 101, when writing a program using a scripting language, when the content to be expressed in the computer script is not compatible with the rules defined in the script, the content to be expressed is included in the script after the comment (i.e. the first keyword), Does not appear independently in the computer script content, and contains a secondary keyword indicating the mode of operation after the comment.

[0044]In this embodime...

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 discloses a method and equipment for analyzing and running a computer script. A first keyword representing a comment is set in the computer script; when the content to be expressed in the script is incompatible with the defined rules of the script, the The content to be expressed is included after the comment (i.e. the first keyword), and a second-level keyword indicating the operation mode is included after the comment; in the process of parsing or running the script, when the comment is read, if If there is a second-level keyword after the comment, the content in the script will be parsed or run according to the operation mode represented by the second-level keyword and the rules defined by the script; otherwise, the content after the comment will be Treated as a comment line. The user does not need to change another scripting language, or modify his own programming scheme, or modify the rules of the scripting language, and will not cause version compatibility problems due to the updated version, and at the same time meet the special needs of the user.

Description

technical field [0001] The invention relates to a function expansion technology of a computer script. Background technique [0002] A script is an executable file written in a certain format using a specific descriptive language, also known as a macro or a batch file. A script is simply a series of text commands, which can be seen (for example, you can use Notepad to open, view and edit). When the script program is executed, an interpreter of the system converts the script language one by one It is translated into computer-recognizable instructions and executed in sequence. A scripting language is an interpreted language that is interpreted or compiled only when called. Scripting languages ​​generally exist in the form of text, similar to a command. For example, you create a program called xxx.exe that can open files with the extension .mm. You specify a set of rules (grammar) for the writing of .mm files. When someone else writes a .mm file, your program uses this rule ...

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 Patents(China)
IPC IPC(8): G06F9/45
Inventor 杨云召俞高宇张晓华
Owner ASAT CHINA TECH
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More