mirror of
https://github.com/PKUFlyingPig/cs-self-learning.git
synced 2026-06-23 09:58:12 +08:00
Improve the translation
This commit is contained in:
parent
e8baec5861
commit
691a8b620b
1 changed files with 3 additions and 3 deletions
|
|
@ -8,16 +8,16 @@
|
|||
- Difficulty: 🌟🌟🌟🌟🌟
|
||||
- Learning Hours: 150
|
||||
|
||||
All this course intends is imparting principles of compiler construction for programming languages to students. Instructors has designed a “COOL language”, namely Class-Object-Oriented-Language, and you are expected to build a compiler for it. By study and practice, you will acquire the ability to design a appropriate compiler, which can translate human-readable COOL into “computer-readable” MIPS assembly being running 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 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.
|
||||
|
||||
Following the Dragon Book, the theoretical part covers lexical analysis, syntax analysis, semantics analysis, runtime environments, register allocation, optimization and code generation. The practical part, accordingly, is divided in four modules: 3 for different steps of analysis and 1 for code generation. The difficulty is considered gradual, increasing with a proper rate. Should you have enough capacity and interest even after taking all those regular path, there’s a huge room left for you to do optimization.
|
||||
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.
|
||||
|
||||
## Course Resources
|
||||
|
||||
- Course Website: <http://web.stanford.edu/class/cs143/>
|
||||
- Recordings: <https://www.bilibili.com/video/BV17K4y147Bz>
|
||||
- Textbook: Compilers: Principles, Techniques and Tools (Dragon Book)
|
||||
- Assignments: 5 textual + 5 programming labs
|
||||
- Assignments: 5 written assignments + 5 programming labs
|
||||
|
||||
## Collection of Course Resources
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue