Algorithms for Compiler Design
暫譯: 編譯器設計的演算法

O G Kakde

買這商品的人也買了...

商品描述

 

Summary

A compiler translates a high-level language program into a functionally equivalent low-level language program that can be understood and executed by the computer. Crucial to any computer system, effective compiler design is also one of the most complex areas of system development. Before any code for a modern compiler is even written, many students and even experienced programmers have difficulty with the high-level algorithms that will be necessary for the compiler to function. Written with this in mind, Algorithms for Compiler Design teaches the fundamental algorithms that underlie modern compilers. The book focuses on the “front-end” of compiler design: lexical analysis, parsing, and syntax. Blending theory with practical examples throughout, the book presents these difficult topics clearly and thoroughly. The final chapters on code generation and optimization complete a solid foundation for learning the broader requirements of an entire compiler design.

 

商品描述(中文翻譯)

摘要

編譯器將高階語言程式轉換為功能上等價的低階語言程式,使計算機能夠理解和執行。有效的編譯器設計對任何計算機系統至關重要,同時也是系統開發中最複雜的領域之一。在現代編譯器的任何程式碼撰寫之前,許多學生甚至經驗豐富的程式設計師都會對編譯器運作所需的高階演算法感到困難。考慮到這一點,《編譯器設計的演算法》教授了現代編譯器的基本演算法。該書專注於編譯器設計的「前端」:詞法分析、解析和語法。全書融合理論與實際範例,清晰而徹底地呈現這些困難的主題。最後幾章關於程式碼生成和優化,為學習整個編譯器設計的更廣泛要求奠定了堅實的基礎。