摘要
编译原理讨论的是程序设计语言翻译原理、技术及实现,对引导学生进行计算机科学思维、提高学生解决实际问题的能力有着重要作用。讨论了编译器及解释器的设计的一般原理,特别讨论了如何应用递归下降分析方法设计简化了的C语言解释器的方法,并对C语言的for语句的处理做了较详细的讨论。
In the course principle of compiler, transfer principle, techniques and realization of program language are discussed. It has an important role to improve students' Computer science thinking and ability to solve practical problems, the principles of designing compiler or interpreter are discussed in this paper. The method about design of the simplified C language interpreter with recursive descent analysis method is discussed, especially how to interpret the "for" statements is discussed in details.
出处
《北京印刷学院学报》
2013年第2期52-54,共3页
Journal of Beijing Institute of Graphic Communication
基金
北京印刷学院课程建设项目(22150112100)
关键词
编译器
解释器
递归下降分析
the compiler
interpreter
recursive descent anal- ysis