Natural language programming method and device based on strong static script language

A technology of scripting language and programming method, which is applied in the field of information technology and computer software products, can solve the problems of difficult to understand programming language, long implementation cycle of rules, heavy configuration workload, etc., achieve powerful program editing ability, strengthen precise interception, improve The effect of reusability
CN110597501AActive Publication Date: 2019-12-20南京星云数字技术有限公司

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
南京星云数字技术有限公司
Publication Date
2019-12-20

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The invention discloses a natural language programming method and device based on a strong static script language. The natural language programming method comprises the steps that a front-end compilerobtains a first script and meta-information from a database, complies the first script into a loaded editor renderer, and verifies the content in the editor renderer according to the meta-information, wherein the meta-information at least comprises type information; by editing the verified editor renderer, a second script is generated, and the second script is stored into the database; and a back-end interpreter acquires the second script and the meta-information from the database, compiles the second script into a runtime object, and verifies the runtime object according to the meta-information. By adopting the natural language editor, the readability of functions or scripts is improved, and non-professional programmers are helped to quickly and correctly compile business logic programs,and the function of a function is introduced, and the reusability of rule logic is improved, and the non-programmers are endowed with flexible and powerful program editing capacity, and the natural language programming method is easier to understand and safer.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The invention relates to the technical fields of information technology and computer software products, in particular to a natural language programming method and device based on a strong static script language. Background technique

[0002] In the rule configuration process, it is usually necessary to organize data or make some logical judgments, which requires a certain degree of programming ability for the rule engine. And in order to improve reusability, in the rule configuration process, it is usually necessary to use programming to refine the fixed logical structure into related functions, parameters or rules.

[0003] For the above problems, the conventional practice in this field is to use a third-party language to realize this programming capability, such as groovy script, but the biggest problem with this method is that it is very unfriendly to business personnel (especially non-professional programmers) (such as difficult to understand) , a...

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