The Common Lisp Condition System: Beyond Exception Handling with Control Flow Mechanisms
by 作者: Michał "phoe" Herda
pages 页数: 300 pages
ISBN-10 书号: 148426133X
ISBN-13 书号: 9781484261330
4 cm
Publisher Finelybook 出版社: Apress; 1st ed. Edition (16 Oct. 2020)
Language 语言: English
Book Description
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