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

A Turing-complete language parsing system and parsing method based on cel and ml

A language analysis and language technology, applied in the computer field, can solve problems such as not having Turing completeness, and achieve the effects of friendly visual programming support, good readability, and strong language scalability

Active Publication Date: 2022-05-06
成都无糖信息技术有限公司
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the problem that cel does not have Turing completeness, so that it has the concept of context, supports conditional judgment branch statements, loop statements, and the definition of variables, thereby proposing a Turing complete language based on CEL and ML Analysis method and analysis system

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 Turing-complete language parsing system and parsing method based on cel and ml
  • A Turing-complete language parsing system and parsing method based on cel and ml
  • A Turing-complete language parsing system and parsing method based on cel and ml

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0047] The method of the present invention will be described in detail below in conjunction with specific embodiments and accompanying drawings.

[0048] The method of the present invention aims to provide a low-code platform with a convenient machine-generated intermediate language with Turing completeness; or to meet the logic scalability requirements of the software system written in Golang without introducing other programming languages The virtual machine, the present invention combines the ML (markup language) text markup language with the CEL general expression language, and realizes a set of programming language running in the Golang runtime that can interact with Golang in the Golang language.

[0049] The present invention realizes the Turing complete language analysis method based on CEL and ML and the process is as follows

[0050] 1. use ML text markup language as the language carrier of the present invention, have the characteristic of hierarchical structure by M...

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 Turing-complete language analysis system and analysis method based on CEL and ML, adopting the following technical scheme: using text markup language as a language carrier, analyzing the hierarchical relationship in the language through the text markup language and dividing the language structure into It is a binary or multi-fork tree structure; analyze the language nodes and define the structure, and realize the tree structure by mutual reference to different structures; establish a branch if the condition is established, and judge whether it can satisfy the branch logic; execute the loop structure , judge and execute the loop structure of the structure according to the language node. The syntax tree in the present invention can be converted into general ML, which is supported by most languages ​​on the market, and a set of operating environments can be easily written in other languages, and has strong language expansibility.

Description

technical field [0001] The invention belongs to the field of computer technology, and in particular relates to a Turing complete language analysis system and analysis method based on CEL and ML. Background technique [0002] ML is the acronym for "Markup Language", that is, "markup language", CEL is the acronym for "common expression language", that is, "common expression language", cel is implemented by Google, and it is an embedded language. CEL implements The common semantics of expression calculation enables different applications to interoperate more easily, such as go and C++, by using CEL to unify expressions and ignore language differences. However, there is no concept of context in the CEL language itself. It depends on the host language and must be parsed at runtime in languages ​​such as go / c++. It lacks logical judgment and loop structure, cannot be used to express complex logic, and does not have Turing completeness. Contents of the invention [0003] The pur...

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): G06F8/30
CPCG06F8/315G06F8/313
Inventor 李抒阳李维童永鳌张瑞冬朱鹏
Owner 成都无糖信息技术有限公司
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