- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
自定义计算机语言编译器
摘要
汉语编程一直是所有以汉语为母语的程序员的梦想。作为以汉语为母语的程序员,每次编程时最发愁的事可能就是文档中大段大段的英语,想要找到相应功能的方法总是非常头痛。中国传统文化中易经八卦的思想又非常符合现代编程中的思想。高级计算机语言程序中任何标识都可以使用中文字、词、词组和句子的语言文法,又有与中文相匹配的语言语法规则可称为汉语编程语言,使用这种语言编写的程序的过程就是中文编程。汉语编程不但可以使编程更加普及,也能使编程效率提高。
本论文研究的是语言编译器,C语言,论文主要介绍了课题的背景、所的功能以及具体的开发过程。关键词:C语言;编译器;
A New Programming language And It’s Compiler
Abstract
Programming in Chinese is always a dream of all the programmers who use Chinese as their mother language. As one of the programmer who uses Chinese as the first language, every time when I program, the most trouble thing is when I looking in the document for a proper way to achieve my goal, there always been tons of billions of English which annoyed me so so much to find out the right way to implement my functions. The Zhouyi philosophy in traditional Chinese culture is very similar to the modern programming. Any high-level computer programming language can be used to identify the text , words , phrases and sentences of the language grammar , but also to match with the Chinese language grammar rules may be called Chinese programming language. The process of using this kind of language can called programming in Chinese. Programming in Chinese can not only make programming more popular, but also improve the efficiency of programming.
This graduation thesis tells about a self-defined programming language that based on Chinese : the compiler of N. Program language N is based on C programming language, exchange some key word, replace the long English word by a single Chinese character, to simplify the programming process, improve the efficiency of programming.
This compiler for N is based on Qt of Linux to draw the interface, is programmed by C++. It is a compiler changes program language N to program language C. It is a simple compiler had this function: basic syntax highlight, function folding, find and replace, re-layout and auto-complete, etc. This thesis introduces the background of this topic, the function it can do and the spe
文档评论(0)