Skip to content

Commit

Permalink
[Fix] Fix incorrect full name of COOL (#676)
Browse files Browse the repository at this point in the history
  • Loading branch information
b06b01073 authored Nov 2, 2024
1 parent bc10573 commit ca7aa47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/编译原理/CS143.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- Difficulty: 🌟🌟🌟🌟🌟
- Learning Hours: 150

This course aims to impart the principles of compiler construction for programming languages to students. The instructors have designed a “COOL language”, namely Class-Object-Oriented-Language. By study and practice, you will design and implement a compiler, which can translate the human-readable COOL language into machine-readable MIPS assembly which can be run on the SPIM emulator.
This course aims to impart the principles of compiler construction for programming languages to students. The instructors have designed a “COOL language”, namely Classroom-Object-Oriented-Language. By study and practice, you will design and implement a compiler, which can translate the human-readable COOL language into machine-readable MIPS assembly which can be run on the SPIM emulator.

Following the Dragon Book, the theoretical part of the course covers lexical analysis, syntax analysis, semantics analysis, runtime environments, register allocation, optimization, and code generation. The practical part, accordingly, is divided into 4 steps: 3 for the frontend and 1 for the backend. The difficulty is considered gradual, increasing at a proper rate. Should you have enough time and interest even after completing all the required work, there’s a huge room left for you to do optimization.

Expand Down
2 changes: 1 addition & 1 deletion docs/编译原理/CS143.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- 课程难度:🌟🌟🌟🌟🌟
- 预计学时:150 小时

斯坦福的编译原理课程,设计者开发了一个 Class-Object-Oriented-Language,简称 COOL 语言。这门课的核心就是通过理论知识的学习,为 COOL 语言实现一个编译器,将 COOL 高级语言编译为 MIPS 汇编并在 Spim 这个 MIPS 模拟器上成功执行。
斯坦福的编译原理课程,设计者开发了一个 Classroom-Object-Oriented-Language,简称 COOL 语言。这门课的核心就是通过理论知识的学习,为 COOL 语言实现一个编译器,将 COOL 高级语言编译为 MIPS 汇编并在 Spim 这个 MIPS 模拟器上成功执行。

理论部分基本按照龙书的顺序覆盖了词法分析、语法分析、语义分析、运行时环境、寄存器分配、代码优化与生成等内容,实践部分则相应地分为词法分析、语法分析、语义分析、代码生成四个阶段,难度循序渐进,并在优化部分给学生留下了很大的设计空间。

Expand Down

0 comments on commit ca7aa47

Please sign in to comment.