CN103543997A - Three-word programming method - Google Patents

Three-word programming method Download PDF

Info

Publication number
CN103543997A
CN103543997A CN201210246896.2A CN201210246896A CN103543997A CN 103543997 A CN103543997 A CN 103543997A CN 201210246896 A CN201210246896 A CN 201210246896A CN 103543997 A CN103543997 A CN 103543997A
Authority
CN
China
Prior art keywords
word
parameter
instruction
chinese
word programming
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210246896.2A
Other languages
Chinese (zh)
Inventor
于丙超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201210246896.2A priority Critical patent/CN103543997A/en
Publication of CN103543997A publication Critical patent/CN103543997A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to programming languages, and aims to provide a three-word programming method which is simple and easy to understand and adopts languages similar to human languages. The three-word programming method is realized through Chinese writing, the adoption of Classical Chinese grammars and the step of division carried out every three words, and input Chinese characters are automatically converted into machine languages which can be recognized by a computer. A compile program of the three-word programming method is of a pipeline filter framework, and an input program text of the three-word programming method is output as the languages such as the HTML, CSS, Javascript, Java and SQL after being analyzed by a compiler. By means of the three-word programming method, programming is easier; even a person who is not a programmer and does not know computer languages but knows the Chinese characters and has logical thought can carry out fast programming.

Description

Three word programming methods
Technical field
The present invention relates to programming language, relate in particular to the programming language that approaches human language, it utilizes Chinese Writing, writing in classical Chinese grammer, three words one to cut apart to realize three word programming methods, be easily understood, be applicable to understanding Chinese characters, and have the XProgrammer of certain logical thinking in the situation that being ignorant of computerese, to realize programming rapidly.
Background technology
Computer scientist is always constantly at the new language of design, Fortran Engineering Language from 1954, established structuring programmed method, for many years, Object-oriented Technique is risen, nineteen ninety-five, Sun invented Java language, outstanding language or the frameworks such as .net, Ruby within 2000, have been there is afterwards, but have still been confined in object-oriented thought to also have very remote distance from human language programming.
The XML language that pin is born before and after nineteen ninety-five and java equally once brightened everyone's eyes, the language that can be understood by the following archaeologist of hat, but through years development so, the marker character of XML does programmer too tiredly, rests at present content description aspect and goes no further.
The sql language being born for 1975 is exactly a kind of programming language that approaches very much human language, regrettably he can only operate database, also there is no at present a kind of ground programming language that is more easily understood, allow the XProgrammer that the is ignorant of programming language study of programming rapidly.
The exploration that computer scientist is docked person of modern times's speech like sound grammer programming never stopped, and designed new language constantly always, and a kind of good language must possess two conditions: the one, and the mankind easily understand, language is simple, is easy to learn and use; The 2nd, computer easily understands, grammer is simple, is easily identified and explains.
Summary of the invention
The object of the invention is to provide a kind of and is easily understood, approaches the method for human language programming, and it can allow programming simpler, as long as understanding Chinese characters, and has the XProgrammer of certain logical thinking in the situation that being ignorant of computerese, to realize rapidly to programme.
For achieving the above object, the present invention can adopt following technical proposals:
A kind of three word programming methods:
Described three word programming methods refer to Chinese Writing, writing in classical Chinese grammer, three words one are cut apart, described Chinese Writing, refer to that input Chinese character just can be automatically converted to the machine language of calculating function identification, described writing in classical Chinese grammer, refer to adopt archaic Chinese writing in classical Chinese syntactic structure, adopt verb front, noun after V-O construction, described verb is exactly generally instruction, described noun is exactly generally the content being performed, mainly in order to make language terse, easily by computing machine, identified, reduced character amount, explanation and travelling speed have been accelerated, described three words one are cut apart, refer to one of three word, simple readability, more be conducive to computing machine and carry out Fast Segmentation and recognition instruction and content.
Described in three word programming methods, verb is exactly generally instruction, and described noun is exactly generally the content being performed, i.e. instruction is front, and content is rear.
Verb described in three word programming methods, except instruction, also has assembly and parameter, and instruction, assembly, parameter three can accomplish corresponding one by one with traditional language.
Described in three word programming methods, instruction has a plurality of, for example: build, if, if, adjust, described building, an assembly of establishment refers to grow out of nothing, for example: build window, build button, creatElement in its corresponding Javascript, described establishing, refer to that the button for having created arranges pattern, action, the contents such as parameter, for example: establish action, if pattern, if back gauge, if described, if referred to, generally be used for arranging event, for example: if click, if mobile, if touch, if rotation, described tune, finger calls, according to the title of assembly, search or invocation component, getElementById in its corresponding javascript.
Assembly described in three word programming methods, corresponding with element or the assembly in Java in Javascript, such as window, button etc.
Parameter and assignment described in three word programming methods, refer to create after assembly, is its setting parameter, and parameter is also corresponding one by one with the parameter in Javascript or Java.
It is pointed out that parameter has three kinds of different literary styles, the first is the parameter of a Chinese character, for example: high, wide, the second is the parameter of two words, and for example: background, back gauge, the third, be triliteral parameter, for example: left side distance, rightmargin.
It is to be noted, in three word programming methods, do not use equal sign=for parameter assignment, the value of all parameters is to be all close to parameter, for example: be that an assembly arranges height, only need to write " high 60 ", if back gauge is set, use and " establish back gauge, 0000 ", corresponding arrange be on, right, under, left four back gauges, in order to be described clearly, need 3 words to do instruction, for example: left side distance, 230, top margin,-12, the meaning is: left side distance is 230 pixels, bottom margin is negative 12 pixels, it is at Javascirpt, that corresponding is exactly magin-left:230px, margin-top:-12px.
It is pointed out that in three word programming methods and need to export large character string, as the content of a banner head or an entire article, just need to use separator, totally three of the separators of three word programming methods, first be ", " second be "." the 3rd be exactly " newline ", also cry the carriage return character.
It is pointed out that in three word programming methods, element of every establishment need change a line, the first character of every a line, all builds.
It is pointed out that in three word programming methods and use numeral, do not allow without exception to use Chinese, must use arabic numeral.
Three word programming method program compilers adopt line strainer framework, and the program documentaion of three word programming methods of input, after compiler is resolved, is output into the language such as HTML, CSS, Javascript, Java, SQL, and its operation steps is as follows:
The first step, resolves into one of three word by programming word, adopts verb front, and noun is rear, i.e. instruction is front, and content, rear, be conducive to computing machine and carry out Fast Segmentation and recognition instruction and content;
Second step, is kept at the literal writing in TXT or Word;
The 3rd step is called the program documentaion of preservation in three word programs;
The 4th step, makes an explanation according to three word programming method interpreters, and the Chinese character of input is automatically converted to the machine language of calculating function identification;
The 5th step, is output into the language such as HTML, CSS, Javascript, Java, SQL.
Three word programming methods have ease for use, browser compatibility, speed faster, be more suitable for the block operations of big data quantity and support the advantages such as mobile touch apparatus.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below.
Fig. 1 is the process of analysis figure of the present invention's three word programming method line strainer frameworks;
Fig. 2 is the present invention's three word programming method schematic flow sheets.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in example of the present invention is described in detail.
The present invention utilizes Chinese Writing, writing in classical Chinese grammer, three words one to cut apart to realize input Chinese character and is automatically converted to the machine language of calculating function identification, easy to learn, allows XProgrammer realize programming rapidly.
Three word programming method program compilers adopt line strainer framework, and as shown in Figure 1, the program documentaion of three word programming methods of input, after compiler is resolved, is output into the language such as HTML, CSS, Javascript, Java, SQL.
Three word programming methods adopt verbs front, noun after V-O construction, verb is exactly generally instruction, noun is exactly generally the content being performed, three its operation stepss of word programming method, as shown in Figure 2:
The first step, resolves into one of three word by programming word, adopts verb front, and noun is rear, i.e. instruction is front, and content, rear, be conducive to computing machine and carry out Fast Segmentation and recognition instruction and content;
Second step, is kept at the literal writing in TXT or Word;
The 3rd step is called the program documentaion of preservation in three word programs;
The 4th step, makes an explanation according to three word programming method interpreters, and the Chinese character of input is automatically converted to the machine language of calculating function identification;
The 5th step, is output into the language such as HTML, CSS, Javascript, Java, SQL.
It is pointed out that verb described in three word programming methods is except instruction, also have assembly and parameter, instruction, assembly, parameter three can accomplish corresponding one by one with traditional language.
Described in three word programming methods, instruction has a plurality of, for example: build, if, if, adjust, described building, an assembly of establishment refers to grow out of nothing, for example: build window, build button, creatElement in its corresponding Javascript, described establishing, refer to that the button for having created arranges pattern, action, the contents such as parameter, for example: establish action, if pattern, if back gauge, if described, if referred to, generally be used for arranging event, for example: if click, if mobile, if touch, if rotation, described tune, finger calls, according to the title of assembly, search or invocation component, getElementById in its corresponding javascript.
Parameter and assignment described in three word programming methods, refer to create after assembly, is its setting parameter, and parameter is also corresponding one by one with the parameter in Javascript or Java.
It is pointed out that parameter has three kinds of different literary styles, the first is the parameter of a Chinese character, for example: high, wide, the second is the parameter of two words, and for example: background, back gauge, the third, be triliteral parameter, for example: left side distance, rightmargin.
For example: build window, high by 60, wide 800, refer to create a window, highly 60 pixels, width is 800 pixels, and in Javascript, correspondence is exactly to export a div, width width:800px, height:60px, or in Java, corresponding is exactly framework or the dialog box of similar frame or dialog.
It is to be noted, in three word programming methods, do not use equal sign=for parameter assignment, the value of all parameters is to be all close to parameter, for example: be that an assembly arranges height, only need to write " high 60 ", if back gauge is set, use and " establish back gauge, 0000 ", corresponding arrange be on, right, under, left four back gauges, in order to be described clearly, need 3 words to do instruction, for example: left side distance, 230, top margin,-12, the meaning is: left side distance is 230 pixels, bottom margin is negative 12 pixels, it is at Javascirpt, that corresponding is exactly magin-left:230px, margin-top:-12px.
It is pointed out that in three word programming methods and need to export large character string, as the content of a banner head or an entire article, just need to use separator, totally three of the separators of three word programming methods, first be ", " second be "." the 3rd be exactly " newline ", also cry the carriage return character.
It is pointed out that in three word programming methods, element of every establishment need change a line, the first character of every a line, all builds.
It is pointed out that in three word programming methods and use numeral, do not allow without exception to use Chinese, must use arabic numeral.
It is pointed out that three word programming methods have ease for use, browser compatibility, speed faster, be more suitable for the block operations of big data quantity and support the advantages such as mobile touch apparatus.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; equivalent structure or the conversion of equivalent flow process that any those skilled in the art of being familiar with utilize instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (8)

1. a word programming method, it is characterized in that: described three word programming methods refer to Chinese Writing, writing in classical Chinese grammer, three words one are cut apart, described Chinese Writing, refer to that input Chinese character just can be automatically converted to the machine language of calculating function identification, described writing in classical Chinese grammer, refer to adopt archaic Chinese writing in classical Chinese syntactic structure, adopt verb front, noun after V-O construction, described verb is exactly generally instruction, described noun is exactly generally the content being performed, mainly in order to make language terse, easily by computing machine, identified, reduced character amount, explanation and travelling speed have been accelerated, described three words one are cut apart, refer to one of three word, simple readability, more be conducive to computing machine and carry out Fast Segmentation and recognition instruction and content.
2. three word programming methods as claimed in claim 1, is characterized in that: three word programming methods adopt verbs front, noun after V-O construction, verb is exactly generally instruction, noun is exactly generally the content being performed, its operation steps is as follows:
The first step, resolves into one of three word by programming word, adopts verb front, and noun is rear, i.e. instruction is front, and content, rear, be conducive to computing machine and carry out Fast Segmentation and recognition instruction and content;
Second step, is kept at the literal writing in TXT or Word;
The 3rd step is called the program documentaion of preservation in three word programs;
The 4th step, makes an explanation according to three word programming method interpreters, and the Chinese character of input is automatically converted to the machine language of calculating function identification;
The 5th step, is output into the language such as HTML, CSS, Javascript, Java, SQL.
3. three word programming methods as described in claim 1,2, it is characterized in that: three word programming method program compilers adopt line strainer framework, the program documentaion of three word programming methods of input, after compiler is resolved, is output into the language such as HTML, CSS, Javascript, Java, SQL.
4. three word programming methods as described in claim 1,2,3, is characterized in that: described verb, except instruction, also has assembly and parameter, and instruction, assembly, parameter three can accomplish corresponding one by one with traditional language.
5. as claim 1, 2, three word programming methods described in 3, it is characterized in that: described instruction has a plurality of, for example: build, if, if, adjust, described building, an assembly of establishment refers to grow out of nothing, for example: build window, build button, creatElement in its corresponding Javascript, described establishing, refer to that the button for having created arranges pattern, action, the contents such as parameter, for example: establish action, if pattern, if back gauge, if described, if referred to, generally be used for arranging event, for example: if click, if mobile, if touch, if rotation, described tune, finger calls, according to the title of assembly, search or invocation component, getElementById in its corresponding javascript.
6. three word programming methods as described in claim 1,2,3,4, it is characterized in that: described parameter has three kinds of different literary styles, the first is the parameter of a Chinese character, for example: high, wide, the second is the parameter of two words, for example: background, back gauge, the third, triliteral parameter, for example: left side distance, rightmargin.
7. as claim 1, 2, three word programming methods described in 3, it is characterized in that: described parameter assignment is not used equal sign or "=", the value of all parameters is to be all close to parameter, for example: be that an assembly arranges height, only need to write " high 60 ", if back gauge is set, use and " establish back gauge, 0000 ", corresponding arrange be on, right, under, left four back gauges, in order to be described clearly, need 3 words to do instruction, for example: left side distance, 230, top margin,-12, the meaning is: left side distance is 230 pixels, bottom margin is negative 12 pixels, it is at Javascirpt, that corresponding is exactly magin-left:230px, margin-top:-12px.
8. three word programming methods as described in claim 1,2,3, is characterized in that: totally three of described separators, first is comma, " second be fullstop " 0" the 3rd be exactly " newline ", also cry the carriage return character.
CN201210246896.2A 2012-07-17 2012-07-17 Three-word programming method Pending CN103543997A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210246896.2A CN103543997A (en) 2012-07-17 2012-07-17 Three-word programming method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210246896.2A CN103543997A (en) 2012-07-17 2012-07-17 Three-word programming method

Publications (1)

Publication Number Publication Date
CN103543997A true CN103543997A (en) 2014-01-29

Family

ID=49967482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210246896.2A Pending CN103543997A (en) 2012-07-17 2012-07-17 Three-word programming method

Country Status (1)

Country Link
CN (1) CN103543997A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260252A (en) * 2015-10-15 2016-01-20 深圳中兴力维技术有限公司 System, apparatus and method for realizing JAVA system console input/output on web pages
CN106126227A (en) * 2016-06-22 2016-11-16 北京普会科技有限公司 A kind of method realizing on computers writing code across human language
CN114118026A (en) * 2020-08-28 2022-03-01 北京仝睿科技有限公司 Automatic document generation method and device, computer storage medium and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030200535A1 (en) * 2000-06-09 2003-10-23 Mcnamara Benedict Bede System for program source code conversion
CN1514362A (en) * 2003-07-27 2004-07-21 耿达明 Chinese character programming method
CN1716192A (en) * 2004-04-23 2006-01-04 微软公司 Semantic programming language and linguistic object model
CN1889043A (en) * 2006-07-17 2007-01-03 大连大有吴涛易语言软件开发有限公司 Method for using human natural language in computer programing
CN101174207A (en) * 2007-11-05 2008-05-07 马旭东 System and method for developing multiple high-level language programs using mother tongue
CN103294470A (en) * 2013-05-27 2013-09-11 上海华兴数字科技有限公司 Programming language system with built-in natural language

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030200535A1 (en) * 2000-06-09 2003-10-23 Mcnamara Benedict Bede System for program source code conversion
CN1514362A (en) * 2003-07-27 2004-07-21 耿达明 Chinese character programming method
CN1716192A (en) * 2004-04-23 2006-01-04 微软公司 Semantic programming language and linguistic object model
CN1889043A (en) * 2006-07-17 2007-01-03 大连大有吴涛易语言软件开发有限公司 Method for using human natural language in computer programing
CN101174207A (en) * 2007-11-05 2008-05-07 马旭东 System and method for developing multiple high-level language programs using mother tongue
CN103294470A (en) * 2013-05-27 2013-09-11 上海华兴数字科技有限公司 Programming language system with built-in natural language

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
朱瑞香等: "面向算法领域的自然语言理解", 《中文信息学报》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105260252A (en) * 2015-10-15 2016-01-20 深圳中兴力维技术有限公司 System, apparatus and method for realizing JAVA system console input/output on web pages
CN105260252B (en) * 2015-10-15 2018-09-14 深圳中兴力维技术有限公司 The systems, devices and methods of the input/output of JAVA system control positions are realized on webpage
CN106126227A (en) * 2016-06-22 2016-11-16 北京普会科技有限公司 A kind of method realizing on computers writing code across human language
CN106126227B (en) * 2016-06-22 2019-03-19 北京普会科技有限公司 A method of it realizes write code across human language on computers
CN114118026A (en) * 2020-08-28 2022-03-01 北京仝睿科技有限公司 Automatic document generation method and device, computer storage medium and electronic equipment
CN114118026B (en) * 2020-08-28 2022-07-19 北京仝睿科技有限公司 Automatic document generation method and device, computer storage medium and electronic equipment

Similar Documents

Publication Publication Date Title
US11372830B2 (en) Interactive splitting of a column into multiple columns
CN101446938B (en) Method for generating table and processing device thereof
CN102298638A (en) Method and system for extracting news webpage contents by clustering webpage labels
JPS6375835A (en) Apparatus for generating intended code, program, list and design document
US10649971B2 (en) Incremental dynamic document index generation
US20150134321A1 (en) System and method for translating text
CN101872350A (en) Web page text extracting method and device thereof
CN103106211B (en) Emotion recognition method and emotion recognition device for customer consultation texts
CN106326307A (en) Language interaction method
CN103543997A (en) Three-word programming method
CN103164201A (en) Web page generating method
CN102999533A (en) Textspeak identification method and system
CN103927179A (en) Program readability analysis method based on WordNet
CN101604286B (en) Method for generating keyword-driving table
CN108021390A (en) A kind of document defect self-repairing method of Java Application Programming Interface
CN107862045A (en) A kind of across language plagiarism detection method based on multiple features
CN108491227A (en) A kind of security configuration system and method based on lua and redis
CN103455307B (en) The method and apparatus handled the information of order line output
ping Zhang et al. AST-based multi-language plagiarism detection method
CN103399746B (en) Information management system convenient to develop secondarily and development method
KR101511116B1 (en) Apparatus for syntax analysis, and recording medium therefor
Derczynski et al. Massively increasing TIMEX3 resources: a transduction approach
US11295082B2 (en) Converting text-based requirements to a live prototype
CN102567463A (en) Biography automatic extraction method based on Internet
CN104199803A (en) Text information processing system and method based on combinational theory

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140129

WD01 Invention patent application deemed withdrawn after publication