Data table-based natural language mixed programming method

A natural language and programming method technology, applied in the field of natural language mixed programming based on data tables, can solve problems such as unfavorable data sharing, achieve the effect of realizing mobile phone social programming, teaching and data, high versatility, and improving programming efficiency

Inactive Publication Date: 2016-12-21
深圳市微我科技有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the existing database struct

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
  • Data table-based natural language mixed programming method
  • Data table-based natural language mixed programming method
  • Data table-based natural language mixed programming method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

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

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

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

[0041] S15. Return the execution result.

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

[0043] 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 data table-based natural language mixed programming method. The method comprises the steps of: establishing a wide table; and storing data into the wide table in a sorted manner, wherein the number of fields of the wide table is fixed and names of the fields are fixed, in addition to a field for representing the unique number of each record, data formats of the other fields are character strings, the data comprises a natural language mixed text, the first smallest unit of the natural language mixed text represents a performance function, and texts subsequent to the smallest unit represent parameters. The method can reduce the programming difficulty, improve the programming efficiency and promote the data sharing realization. The method is particularly suitable for the realization of VR (Virtual Reality), AR (Augmented Reality) and MR (Mixed Reality), so that ordinary people can construct virtual worlds they want.

Description

technical field [0001] The invention relates to the field of programming, and more specifically, relates to a data table-based natural language mixed programming method. Background technique [0002] Among the popular programming tools, most of them are high-level languages ​​that can be compiled into machine language, rather than natural languages ​​used by people, such as VB, C, C++, PASCAL, JAVA, C# 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 the thinking from traditional programming language The second is the various conflicts caused by differences in nationality, language, culture, and tradition; the third is that the technical realization is relatively complicated and difficult. [0003] Existing programming requires a fixed programmin...

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
IPC IPC(8): G06F9/44G06F17/27
CPCG06F8/31G06F8/33G06F40/263
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