Crafting Interpreters (Paperback)
暫譯: 打造解釋器 (平裝本)
Nystrom, Robert
- 出版商: Genever Benning
- 出版日期: 2021-07-27
- 售價: $2,230
- 貴賓價: 9.5 折 $2,119
- 語言: 英文
- 頁數: 640
- 裝訂: Quality Paper - also called trade paper
- ISBN: 0990582930
- ISBN-13: 9780990582939
-
相關分類:
Compiler
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$1,176Database Management Systems, 3/e (IE-Paperback)
-
$480$379 -
$580$458 -
$3,750$3,563 -
$3,400$3,230 -
$580$458 -
$1,200$1,140 -
$580$493 -
$580$458 -
$1,892Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems (Paperback)
-
$726深入理解計算機系統, 3/e (Computer Systems: A Programmer's Perspective, 3/e)
-
$1,980$1,940 -
$580$452 -
$294$279 -
$580$458 -
$2,240Javascript: The Definitive Guide: Master the World's Most-Used Programming Language, 7/e (Paperback)
-
$690$538 -
$719$683 -
$2,800$2,660 -
$2,146Introduction to Algorithms, 4/e (Hardcover)
-
$1,980$1,881 -
$449自然語言結構計算——意合圖理論與技術
-
$580$406 -
$580$406 -
$650$507
相關主題
商品描述
Despite using them every day, most software engineers know little about how programming languages are designed and implemented. For many, their only experience with that corner of computer science was a terrifying "compilers"class that they suffered through in undergrad and tried to blot from their memory as soon as they had scribbled their last NFA to DFA conversion on the final exam.
That fearsome reputation belies a field that is rich with useful techniques and not so difficult as some of its practitioners might have you believe. A better understanding of how programming languages are built will make you a stronger software engineer and teach you concepts and data structures you'll use the rest of your coding days. You might even have fun.
This book teaches you everything you need to know to implement a full-featured, efficient scripting language. You'll learn both high-level concepts around parsing and semantics and gritty details like bytecode representation and garbage collection. Your brain will light up with new ideas, and your hands will get dirty and calloused.
Starting from main(), you will build a language that features rich syntax, dynamic typing, garbage collection, lexical scope, first-class functions, closures, classes, and inheritance. All packed into a few thousand lines of clean, fast code that you thoroughly understand because you wrote each one yourself.
商品描述(中文翻譯)
儘管每天都在使用它們,但大多數軟體工程師對於程式語言的設計和實現知之甚少。對於許多人來說,他們唯一的經驗就是在大學時期經歷過一門可怕的「編譯器」課程,並在最後一次考試中寫下最後一個 NFA 轉換為 DFA 的過程後,試圖將其從記憶中抹去。
這種可怕的聲譽掩蓋了一個充滿有用技術的領域,並不像某些從業者所聲稱的那樣困難。更好地理解程式語言的構建方式將使你成為一名更強大的軟體工程師,並教會你在未來的編碼日子中會用到的概念和資料結構。你甚至可能會覺得有趣。
本書教你實現一個功能齊全、高效的腳本語言所需的所有知識。你將學習解析和語義等高階概念,以及像位元碼表示和垃圾回收等具體細節。你的大腦將閃耀著新想法,而你的雙手將變得髒污且粗糙。
從 main() 開始,你將構建一種具有豐富語法、動態類型、垃圾回收、詞法範圍、一級函數、閉包、類別和繼承的語言。所有這些都被打包在幾千行乾淨、快速的程式碼中,而你完全理解每一行,因為這些都是你自己編寫的。