Programming language system with built-in natural language

A technology of natural language and programming language, applied in the direction of program control devices, etc., can solve the problems of restricting the application of Chinese, increasing the amount of code, and heavy workload, and achieve the effects of easy maintenance, small amount of code, and strong reusability

Inactive Publication Date: 2013-09-11
SHANGHAI HUAXING DIGITAL TECH
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the increasing complexity of industrial system control requirements, the amount of software development code is increasing. The readability of mainstream high-level languages ​​such as C, C++, java, and C# is better than assembly language and machine language, but they will also Restricting the application of natural languages ​​such as Chinese in the code, for the management and maintenance of codes containing different languages, the workload is heavy and has a certain degree of difficulty. How to improve the readability of the code and the reusability of the software has become a solution to this problem. the crux of the matter

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 system with built-in natural language

Examples

Experimental program
Comparison scheme
Effect test

example

[0032] Example: _PIDRelayTuneCtrl[.] "input":=Memb; / / self-tuning PID controller

[0033] _IntBuild[.]#Paramts::Lenght; / / Define integer variables

[0034] The bold logos (Memb and Lenght) here are user input parts, and users can use conventional natural language to input, for example, including quantity and length units, etc.

[0035] The compiler scans the source code program for the first time, assigns addresses to the parameters of the function blocks according to the order in which the function blocks appear, and obtains the initial values ​​of the parameters, and generates a parameter format file; the compiler scans the source code program for the second time, Find the function block number corresponding to the function block and the operation code corresponding to the operation operator in the library file of the library file, and find the data offset address corresponding to the parameter according to the parameter format file generated by the first scan, and generate it...

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 system with a built-in natural language. The programming language system comprises an integrated development environment. The integrated development environment comprises a programming language of the built-in natural language, a project manager, a code editor, a complier, and a downloading and debugging device. The programming language of the built-in natural language includes a parameter block for generating source code programs and a function block. A plurality of physical conceptual features represented by the different parameters are packaged in the parameter block. A plurality of different functional solid features are packaged in the function block. Codes for the programming language of the built-in natural language are highly readable; the software component design is adopted, so that software is highly repetitive, the low amount of codes is realized for a complex system, and the codes are easy to maintain.

Description

technical field [0001] The invention relates to a programming language used for software application program development, in particular to a programming language system embedded with natural language. Background technique [0002] With the increasing complexity of industrial system control requirements, the amount of software development code is increasing. The readability of mainstream high-level languages ​​such as C, C++, java, and C# is better than assembly language and machine language, but they will also Restricting the application of natural languages ​​such as Chinese in the code, for the management and maintenance of codes containing different languages, the workload is heavy and has a certain degree of difficulty. How to improve the readability of the code and the reusability of the software has become a solution to this problem. the crux of the matter. Contents of the invention [0003] In view of the above-mentioned problems, the purpose of the present inventi...

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/44
Inventor 袁爱进罗湘平闫鑫
Owner SHANGHAI HUAXING DIGITAL TECH
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