Supercharge Your Innovation With Domain-Expert AI Agents!

Programming language compiling system and method

A compiling system and programming language technology, applied in the field of compiling systems that can convert rule codes into procedural codes, can solve problems such as complex use, narrow scope of application, and reduced logical thinking, so as to reduce the possibility of errors and reduce The effect of improving work intensity and improving writing efficiency

Pending Publication Date: 2022-06-28
韩济澎
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In response to such problems, some people have proposed and designed some rule computing languages. Compared with procedural computing languages, rule computing languages ​​are more advanced programming languages. Through rule computing, the user's logical thinking can be reduced. However, the existing rule computing languages There are problems such as narrow scope of application, difficulty in reading, and complicated use. The user experience is not good, and its wide-scale promotion and application are severely restricted.

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
  • Programming language compiling system and method
  • Programming language compiling system and method
  • Programming language compiling system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0249] Edit the source code to solve the value of x that satisfies the condition of 1*x+2*x+(π-3)*x==100. The rules used in the solution process include multiplication associative law and multiplication and division conversion. In the solution process, Using the compiling system of the programming language provided by the application, the source code received by the interactive module of the compiling system of the programming language is as follows:

[0250]

[0251]

[0252] In this source code, create the parameter pi with a value of 3.14. "new" means to create a new parameter, and ":" is an attribute operator, which means to assign the attribute "new" to pi.

[0253] Define the multiplicative associativity a*c+b*c→(a+b)*c;

[0254] where @(30){a*c+b*c} indicates that this is a function for matching expressions satisfying the format a*c+b*c, and "@" indicates that this is a function declaration. "(30)" indicates that the weight of this function is 30.

[0255] re i...

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 programming language compiling system and method.The system comprises an interaction module, a compiling module, a pre-execution module and an execution module, received rule codes are converted into process codes through the compiling module and the pre-execution module, and then results are obtained through execution of the execution module; therefore, the user only needs to input the rule code into the compiling system of the programming language to finally obtain the resolving result, and the working difficulty and the error amount of the user are greatly reduced.

Description

technical field [0001] The present invention relates to a compiling system and method of a programming language, in particular to a compiling system and method capable of converting rule codes into process codes. Background technique [0002] The current mainstream scientific computing system implementation method usually combines the user interface with the compiler and virtual machine of the process-based programming language. The scientific computing system constructed based on this requires the user to manually write the process code to solve the scientific computing problem, and the process code The writing of the software requires strong professionalism, and the probability of errors is high, so there are systematic defects that the user has a large workload and is prone to errors. [0003] A function can be understood as a logical path from a condition to a result. In the programming languages ​​we usually come into contact with, by writing a function, then entering i...

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): G06F8/41G06F8/73
CPCG06F8/41G06F8/44G06F8/73Y02D10/00
Inventor 韩济澎
Owner 韩济澎
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