Basics of Compiler Design

Basics of Compiler Design

简介:

本教科书旨在提供编译器设计的入门课程,适合在计算机科学或相关领域的本科课程中使用。

它提出了一些技术,使现实的,虽然非优化的编译器为简单的编程语言使用的方法,接近那些在 “真正的” 编译器中使用的方法,虽然略有简化的地方表示的目的。涵盖了将高级语言转换为机器语言所需的所有阶段,包括词法,解析,中间代码生成,机器代码生成和寄存器分配。简要介绍了解释。

为了在实现语言方面保持中立,算法以伪代码而不是任何特定的编程语言呈现,并且在许多情况下给出了以几种不同语言风格实现的建议。通过示例和练习说明了这些技术。

作者在哥本哈根大学教授编译器设计已有十多年了,该书基于那里的本科编译器设计课程中使用的材料。

英文简介:

Permission to copy and print for personal use is granted. If you, as a lecturer, want to print the book and sell it to your students, you can do so if you only charge the printing cost. If you want to print the book and sell it at profit, please contact me and we will find a suitable arrangement.

书名
Basics of Compiler Design
译名
编译器设计基础
语言
英语
年份
2010
页数
319页
大小
1.62 MB
标签
  • 编译器
  • 下载
    pdf iconBasics of Compiler Design.pdf
    密码
    65536

    最后更新:2025-04-12 23:54:39

    ←Introduction to Compilers and Language Design

    →Implementing Programming Languages: An Introduction to Compilers and Interpreters