Writing Interpreters and Compilers for the Raspberry Pi Using Python, 2/e

Dos Reis, Anthony J.

  • 出版商: Independently Published
  • 出版日期: 2020-06-04
  • 售價: $950
  • 貴賓價: 9.5$903
  • 語言: 英文
  • 頁數: 248
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798635920329
  • ISBN-13: 9798635920329
  • 相關分類: Python程式語言Raspberry PiCompiler
  • 立即出貨 (庫存=1)



If you want to learn how to write interpreters and compilers, and at the same time learn how Python, Python bytecode, assembly language, and dynamic typing work, this is the book for you. The only prerequisites are some experience with any programming language and a computer on which you can install Python 3 (or Python 2 if you prefer). A Raspberry Pi is not required. Included in the software package for the book is an interpreter that allows you to run ARM/Raspberry Pi assembly language programs on your Windows, Linux, or Mac OS X systems. If you have not yet learned Python or assembly language, so much the better. You will get the added bonus of learning Python and assembly language while you learn all about interpreters and compilers. Two chapters on assembly language and an appendix on Python cover everything you need to know to start writing interpreters and compilers. In this edition, the typos in the the first edition have been corrected, the occasional too brief explanation has been expanded, additional code has been provided for the particularly complex functions, and more end-of-chapter problems have been included.


如果你想學習如何撰寫解譯器和編譯器,同時了解Python、Python字節碼、組合語言和動態類型的運作方式,這本書非常適合你。唯一的先決條件是對任何一種程式語言有一些經驗,並且有一台可以安裝Python 3(或者如果你喜歡的話,也可以是Python 2)的電腦。不需要樹莓派。書中的軟體套件包含一個解譯器,可以讓你在Windows、Linux或Mac OS X系統上運行ARM/Raspberry Pi組合語言程式。如果你還沒有學過Python或組合語言,那就更好了。在學習解譯器和編譯器的同時,你還可以額外學習Python和組合語言。書中有兩章關於組合語言的內容,以及一個關於Python的附錄,涵蓋了你開始撰寫解譯器和編譯器所需的一切知識。在這個版本中,修正了第一版中的錯別字,對偶爾過於簡短的解釋進行了擴充,為特別複雜的函數提供了額外的程式碼,並增加了更多章末問題。