首页 | 本学科首页   官方微博 | 高级检索  
     

词法分析及其C语言实现
引用本文:郜瑜. 词法分析及其C语言实现[J]. 山西电子技术, 2007, 0(3): 74-76
作者姓名:郜瑜
作者单位:中国人民大学信息学院 北京100872
摘    要:介绍了编译过程的第一阶段——词法分析的功能和输出,词法分析器的实现模式及词法出错的处理,并在此基础上依据C语言的范式给出了设计C语言程序的词法分析器的基本思路和需要考虑的问题。

关 键 词:词法分析  C语言的BNF范式  词法分析器设计
修稿时间:2006-11-222007-01-22

Lexieal Analysis and Its Implementation in C-language
Gao Yu. Lexieal Analysis and Its Implementation in C-language[J]. Shanxi Electronic Technology, 2007, 0(3): 74-76
Authors:Gao Yu
Abstract:This paper introduces the function and the output of lexical analysis--the first phase in compiling, and the implementation methods and error disposal of lexical analyzer, then it discusses the main thread and questions needed to be considered for design hag a C-language lexieal analyzer according to the C-language normal form.
Keywords:lexical analysis  BNF of C-language  lexical analyzer design
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号