Lisp in Small Pieces (Paperback)
暫譯: 小塊Lisp

Christian Queinnec

  • 出版商: Cambridge
  • 出版日期: 2003-12-04
  • 售價: $4,460
  • 貴賓價: 9.5$4,237
  • 語言: 英文
  • 頁數: 536
  • 裝訂: Paperback
  • ISBN: 0521545668
  • ISBN-13: 9780521545662
  • 海外代購書籍(需單獨結帳)

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

相關主題

商品描述

This is a comprehensive account of the semantics and the implementation of the whole Lisp family of languages, namely Lisp, Scheme and related dialects. It describes 11 interpreters and 2 compilers, including very recent techniques of interpretation and compilation. The book is in two parts. The first starts from a simple evaluation function and enriches it with multiple name spaces, continuations and side-effects with commented variants, while at the same time the language used to define these features is reduced to a simple lambda-calculus. Denotational semantics is then naturally introduced. The second part focuses more on implementation techniques and discusses precompilation for fast interpretation: threaded code or bytecode; compilation towards C. Some extensions are also described such as dynamic evaluation, reflection, macros and objects. This will become the new standard reference for people wanting to know more about the Lisp family of languages: how they work, how they are implemented, what their variants are and why such variants exist. The full code is supplied (and also available over the Net). A large bibliography is given as well as a considerable number of exercises. Thus it may also be used by students to accompany second courses on Lisp or Scheme.

商品描述(中文翻譯)

這是對整個 Lisp 語言家族的語義和實現的全面介紹,包括 Lisp、Scheme 及相關方言。書中描述了 11 個解釋器和 2 個編譯器,包括非常近期的解釋和編譯技術。這本書分為兩部分。第一部分從一個簡單的評估函數開始,並通過多個命名空間、延續和副作用來豐富它,並附有註解的變體,同時用來定義這些特性的語言簡化為一個簡單的 λ 演算。然後自然引入了指稱語義。第二部分則更專注於實現技術,討論了快速解釋的預編譯:線程代碼或字節碼;編譯為 C。還描述了一些擴展,如動態評估、反射、宏和對象。這將成為希望深入了解 Lisp 語言家族的人的新標準參考資料:它們是如何運作的、如何實現的、它們的變體是什麼以及為什麼會存在這些變體。完整的代碼隨書提供(也可在網上獲得)。書中還提供了大量的參考文獻以及相當數量的練習題。因此,這本書也可以用作學生在學習 Lisp 或 Scheme 的第二門課程時的輔助教材。