- 20
- 0
- 约7.68千字
- 约 34页
- 2018-11-06 发布于广西
- 举报
Chapter 1 Introduction to Compiling 8、Compiler-Construction Tools Parser generators: Produce syntax analyzers, normally from input that is based on a context-free grammar Scanner generators: Automatically generate lexical analyzers, normally from a specification based on regular expression Chapter 1 Introduction to Compiling 8、Compiler-Construction Tools Syntax-directed translation engine: Produce collections of routines that walk the parse tree, generating intermediate code Automatic code generators: Take a collection of rules that define the translation of each operation of the intermediate language into the machine language for the target machine Chapter 1 Introduction to Compiling 8、Compiler-Construction Tools Data-flow engines Compiling Principles Compiler Construction Zhai Yuqing yqzhai@ /personalpage/yqzhai/ ?1、Compilers:Principles,Techniques,and Tools(2nd Edition),A.V Aho,Ravi Sethi, J.D Ullman,人民邮电出版社,2008 2、Modern Compiler Implementation in C, Andrew W Appeal,人民邮电出版社,2005 3、Modern Compiler Implementation in Java,Andrew W Appeal,高等教育出版社,2003 4、编译原理及编译程序构造,秦振松,东南大学出版社,1997 5、程序设计语言编译原理,陈火旺,国防工业出版社,2000 Main References The role of a compiler in a system Kernel OS Kernel OS Shell DBMS Application Programs A Compiler 1、 Seeing the development of a compiler gives you a feeling for how programs work. That can help you understand the internal process of program execution deeply Why to arrange the course of compilers? 2、Many algorithms and models you will use in compilers are fundamental, and will be useful to you elsewhere: automata context-free grammars hash tables (symbol table) dynamic programming Why to arrange the course of compilers? dynamic programming Characterize the structure of an optimal solution. Recursively define the value of an optimal solution. Compute the value of an optimal solution in a bottom-up fashion. Construct an optimal solution from computed information. Why to arrange the course of compilers? 3、To program more eff
您可能关注的文档
- 电子科技大学离散数学课程组国家精品课程(精品·公开课件).ppt
- 电子技术基础与技能 (1)(精品·公开课件).ppt
- 电子科技大学网络编程课件第十讲——服务器并发性的统(精品·公开课件).ppt
- 电子科技大学网络编程课件第五讲——客户软件设计中的(精品·公开课件).ppt
- 电子科技对我们日常生活的影响(精品·公开课件).ppt
- 电子科大电子技术应用实验总复习(精品·公开课件).ppt
- 电子垃圾(精品·公开课件).ppt
- 电子课件第五章演示文稿处理软件PowerPoint2003(精品·公开课件).ppt
- 电子类课程(精品·公开课件).ppt
- 电子类专业英语电子教案第三课(精品·公开课件).ppt
原创力文档

文档评论(0)