摘要
介绍了编译过程的第一阶段——词法分析的功能和输出,词法分析器的实现模式及词法出错的处理,并在此基础上依据C语言的范式给出了设计C语言程序的词法分析器的基本思路和需要考虑的问题。
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.
出处
《山西电子技术》
2007年第3期74-76,共3页
Shanxi Electronic Technology