From ca7aa472a2d55cc8a9415fd9132ea41029cb8487 Mon Sep 17 00:00:00 2001 From: "Chen-Chun, Kao" Date: Sat, 2 Nov 2024 16:37:49 +0800 Subject: [PATCH] [Fix] Fix incorrect full name of COOL (#676) --- .../CS143.en.md" | 2 +- .../\347\274\226\350\257\221\345\216\237\347\220\206/CS143.md" | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git "a/docs/\347\274\226\350\257\221\345\216\237\347\220\206/CS143.en.md" "b/docs/\347\274\226\350\257\221\345\216\237\347\220\206/CS143.en.md" index fb6c97927..c9988d504 100644 --- "a/docs/\347\274\226\350\257\221\345\216\237\347\220\206/CS143.en.md" +++ "b/docs/\347\274\226\350\257\221\345\216\237\347\220\206/CS143.en.md" @@ -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. diff --git "a/docs/\347\274\226\350\257\221\345\216\237\347\220\206/CS143.md" "b/docs/\347\274\226\350\257\221\345\216\237\347\220\206/CS143.md" index 4a53357c1..b1609dd4d 100644 --- "a/docs/\347\274\226\350\257\221\345\216\237\347\220\206/CS143.md" +++ "b/docs/\347\274\226\350\257\221\345\216\237\347\220\206/CS143.md" @@ -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 模拟器上成功执行。 理论部分基本按照龙书的顺序覆盖了词法分析、语法分析、语义分析、运行时环境、寄存器分配、代码优化与生成等内容,实践部分则相应地分为词法分析、语法分析、语义分析、代码生成四个阶段,难度循序渐进,并在优化部分给学生留下了很大的设计空间。