A Hybrid Programming Approach Using Natural Language

A natural language and hybrid programming technology, applied in the field of hybrid programming using natural language, can solve the problems of code sharing, programming difficulty, and code cannot be used universally, and achieve the effect of lowering the programming threshold, high programming efficiency, and high versatility

Active Publication Date: 2020-12-22
深圳市微我科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] Among the popular programming tools, most of them are high-level languages ​​that can be compiled into machine languages, rather than natural languages ​​used by people, such as C#, JavaScript, VB, C, C++, PASCAL, JAVA and other languages, whose syntax is derived from "machine Language "→"Assembly Language"→"High-Level Language" has been gradually developed. Foreign companies have tried to program in natural language, but ended in failure. The reason is nothing more than three points: one is from the traditional programming language Second, various conflicts due to differences in nationality, language, culture, and tradition; third, technical realization is relatively complicated and difficult
[0003] Existing programming requires a fixed programming environment, format, and symbols. Different programming languages ​​have different formats and symbols, which makes it very difficult for ordinary people to learn programming, and the codes between different languages ​​cannot be used universally.
Furthermore, everyone has different programming habits, function names, etc. are customized according to personal preferences, and it is difficult to share codes between different programmers

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 Hybrid Programming Approach Using Natural Language
  • A Hybrid Programming Approach Using Natural Language
  • A Hybrid Programming Approach Using Natural Language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] Such as figure 1 As shown, the present invention discloses a hybrid programming method utilizing natural language, comprising steps:

[0030] S11. Obtain a natural language mixed text;

[0031] S12. Obtain the functional function of the programming language according to the first minimum unit of each line of the natural language mixed text;

[0032] S13. Match the parameters of the functional function according to the subsequent text of the minimum unit;

[0033] S14. Use protocol interface or socket to call different programming languages ​​for functions not realized by programming language;

[0034] S15. Return the execution result.

[0035] The protocol interface includes but not limited to ajax and http protocols; the socket includes but not limited to socket and websocket.

[0036] Ajax stands for "Asynchronous Javascript And XML" (asynchronous JavaScript and XML), which refers to a web development technology for creating interactive web applications. It is a ...

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 hybrid programming method using a natural language. The hybrid programming method using the natural language comprises the steps of obtaining a natural language hybrid text; obtaining a performance function of a programming language according to a first minimum unit of each row of the natural language hybrid text; matching parameters of the performance function according to a subsequent text of the minimum unit; calling different programming languages to execute functions unrealized by the programming language by utilizing protocol interfaces or sockets; and returning executive results. According to the method, the programming difficulty can be lowered, the programming efficiency can be improved, and the data sharing realization can be facilitated; and the method is especially suitable for realization of VR (Virtual Reality), AR (Augmented Reality) and MR (Mixed Reality), and enables ordinary people to be all capable of constructing virtual worlds which they think.

Description

technical field [0001] The invention relates to the fields of virtual reality, augmented reality, mixed reality and artificial intelligence, and more specifically relates to a hybrid programming method using natural language. Background technique [0002] Among the popular programming tools, most of them are high-level languages ​​that can be compiled into machine languages, rather than natural languages ​​used by people, such as C#, JavaScript, VB, C, C++, PASCAL, JAVA and other languages, whose syntax is derived from "machine Language "→"Assembly Language"→"High-Level Language" has been gradually developed. Foreign companies have tried to program in natural language, but ended in failure. The reason is nothing more than three points: one is from the traditional programming language Second, various conflicts due to differences in nationality, language, culture, and tradition; third, technical implementation is relatively complicated and difficult. [0003] Existing program...

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/31
Inventor 李文广
Owner 深圳市微我科技有限公司
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