|
所在平台: Udemy |
课程主页: https://www.udemy.com/course/compiler-design-g/
课程评论:没有评论
课程名称: 编译原理 - 扫描器与解析器初学者指南 课程概述: 本课程将教授学生构建简单编译器的基本概念和技术。通过理论与实践相结合,我们将使用样例语言探讨编程语言的词法、句法和语义结构,并学习如何利用这些结构实现一个演示编译器。讨论内容将包括中间代码状态的检查、机器代码优化技术以及对高级语言特性的支持。编译器是现代计算机系统中不可或缺的部分,负责将用户定义的程序翻译为机器可理解的代码,充当人类与机器之间的接口,这一复杂过程基于自动机理论。该理论为编译器构建过程中各个阶段使用的自动化工具提供基础。随着计算机架构、内存管理和操作系统的进步,编译器设计师在有效代码生成方面有了众多选择。本课程涵盖了从理论基础到架构考虑及自动化工具使用的各个方面。课程主要面向本科生,适合一个学期的学习,同时也欢迎任何希望了解编译原理和代码翻译的人士。课程结束时,学生将掌握编译过程、语言属性对编译的影响、硬件对代码的影响以及编译器实现的基本知识。
Compiler Design will teach students the fundamental concepts and techniques used for building a simple compiler. Focusing on both theory and practice, we will use a sample language to explore the lexical, syntactic and semantic structures of programming languages, and learn to use those structures in implementing a demonstrative compiler. The discussion will include the examination of intermediate code states, machine code optimization techniques and support for advanced language features. Compilers are integral to modern computer systems, translating user-defined programs into machine-understandable code. They serve as an interface between humans and machines, a complex process underpinned by Automata Theory. This theory forms the foundation for creating automated tools used in various stages of compiler construction. With advancements in computer architecture, memory management, and operating systems, compiler designers have numerous options for efficient code generation. The compiler design course addresses these aspects, from theoretical underpinnings to architectural considerations and the use of automated tools. Aimed primarily at undergraduate students in a one-semester course, it also benefits anyone seeking an introduction to compiler design and code translation. By the course's end, students will grasp the compilation process, how language attributes affect it, the influence of hardware on code, and the essentials of compiler implementation.