Skip to main content
  • Book
  • © 2020

The Common Lisp Condition System

Beyond Exception Handling with Control Flow Mechanisms

Apress
  • A unique book on the Common Lisp condition system and its control flow mechanisms

  • Includes an example ANSI-conformant implementation of the condition system

  • A short compact book to quickly get you up and running

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (5 chapters)

  1. Front Matter

    Pages i-xx
  2. Basic concepts

    • Michał “phoe” Herda
    Pages 1-23
  3. Introducing the condition system

    • Michał “phoe” Herda
    Pages 25-133
  4. Implementing the Common Lisp condition system

    • Michał “phoe” Herda
    Pages 135-219
  5. Wrapping up

    • Michał “phoe” Herda
    Pages 221-236
  6. Appendixes

    • Michał “phoe” Herda
    Pages 237-292
  7. Back Matter

    Pages 293-300

About this book

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. 



Authors and Affiliations

  • Krakow, Poland

    Michał "phoe" Herda

About the author

Michał "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.

Bibliographic Information

  • Book Title: The Common Lisp Condition System

  • Book Subtitle: Beyond Exception Handling with Control Flow Mechanisms

  • Authors: Michał "phoe" Herda

  • DOI: https://doi.org/10.1007/978-1-4842-6134-7

  • Publisher: Apress Berkeley, CA

  • eBook Packages: Professional and Applied Computing, Professional and Applied Computing (R0), Apress Access Books

  • Copyright Information: Michał "phoe" Herda 2020

  • Softcover ISBN: 978-1-4842-6133-0Published: 16 October 2020

  • eBook ISBN: 978-1-4842-6134-7Published: 15 October 2020

  • Edition Number: 1

  • Number of Pages: XX, 300

  • Number of Illustrations: 1 b/w illustrations

  • Topics: Professional Computing, Open Source

Buy it now

Buying options

eBook USD 34.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 44.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access