The Common LISP Condition System: Beyond Exception Handling with Control Flow Mechanisms (Paperback)

Herda, Michal "phoe"

  • 出版商: Apress
  • 出版日期: 2020-10-16
  • 定價: $1,600
  • 售價: 9.5$1,520
  • 貴賓價: 9.0$1,440
  • 語言: 英文
  • 頁數: 318
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 148426133X
  • ISBN-13: 9781484261330
  • 相關分類: Functional-programming
  • 立即出貨 (庫存=1)

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

相關主題

商品描述

Discover the functioning and example uses of the Common Lisp condition system. This book supplements already existing material for studying Common Lisp as a language by providing detailed information about the Lisp condition system and its control flow mechanisms; it also describes an example ANSI-conformant implementation of the condition system.

In part 1 of The Common Lisp Condition System, the author introduces the condition system using a bottom-up approach, constructing it piece by piece. He uses a storytelling approach to convey the foundation of the condition system, dynamically providing code to alter the behavior of an existing program. Later, in part 2, you'll implement a full and complete ANSI-conformant condition system while examining and testing each piece of code that you write.

Throughout, the author demonstrates how to extend Lisp using Lisp itself by using the condition system as an example. This is done while paying proper attention to the CL restart subsystem, giving it attention on a par with the handler subsystem. After reading and using this book, you'll have learned about the inner functioning of the condition system, how to use it in your own Common Lisp coding and applications, and how to implement it from scratch, should such a need arise.

What You Will Learn

  • Examine the condition system and see why it is important in Common Lisp
  • Construct the condition system from scratch using foundational mechanisms provided by Common Lisp
  • Program the condition system and its control flow mechanisms to achieve practical results
  • Implement all parts of a condition system: conditions, restarts, handler- and restart-binding macros, signalling mechanisms, assertions, a debugger, and more



     
  •  

Who This Book Is For

 

Beginning and intermediate Lisp programmers, as well as intermediate programmers of other programming languages.

 

商品描述(中文翻譯)

本書介紹了Common Lisp條件系統的運作方式和示例用法。這本書補充了已有的學習Common Lisp語言的資料,提供了關於Lisp條件系統及其控制流機制的詳細信息;同時還描述了一個符合ANSI標準的條件系統的實現示例。

在《The Common Lisp Condition System》的第一部分中,作者使用自下而上的方法介紹了條件系統,逐步構建它。他使用故事講述的方式來傳達條件系統的基礎,動態提供代碼來改變現有程序的行為。稍後,在第二部分中,您將實現一個完整符合ANSI標準的條件系統,同時檢查和測試您編寫的每一段代碼。

作者通過使用條件系統作為示例,演示了如何使用Lisp來擴展Lisp本身。在對CL重啟子系統給予適當關注的同時,也給予了與處理程序子系統相等的關注。閱讀並使用本書後,您將了解條件系統的內部運作方式,以及如何在自己的Common Lisp編程和應用中使用它,以及在需要時如何從頭開始實現它。

您將學到什麼


  • 檢查條件系統,了解它在Common Lisp中的重要性

  • 使用Common Lisp提供的基礎機制從頭開始構建條件系統

  • 編寫條件系統及其控制流機制以實現實際結果

  • 實現條件系統的所有部分:條件、重啟、處理程序和重啟綁定宏、信號機制、斷言、調試器等

本書適合對象

初級和中級Lisp程序員,以及其他編程語言的中級程序員。

作者簡介

Michal "phoe" Herda is a programmer with contributions to multiple parts of the Common Lisp ecosystem: CL implementations, existing and widely-used CL utilities, documentation, and some of the new library ideas that he slowly pushes forwards and works on. The book The Common Lisp Condition System is his first work -- an attempt to create a tutorial on the condition system that was missing, even all the years after which ANSI Common Lisp was standardized.

作者簡介(中文翻譯)

Michal "phoe" Herda 是一位程式設計師,對於 Common Lisp 生態系統的多個部分做出了貢獻:包括 CL 實現、現有且廣泛使用的 CL 工具、文件以及他慢慢推進並致力於的一些新的程式庫想法。這本書《The Common Lisp Condition System》是他的第一部作品,試圖創建一個關於條件系統的教程,即使在 ANSI Common Lisp 標準化多年後,這方面的教材仍然缺乏。