2 ms·
Is this targeted more at users of the condition system, or implementers who are writing their own common lisp compilers? From the Amazon blurb: >In part 1 of
by flubert 6y ago
Is this targeted more at users of the condition system, or implementers who are writing their own common lisp compilers?
From the Amazon blurb:
>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.
- phoe-krk 6y agoBoth. The book contains an explanation of how to derive the condition system from the primitive operators of Common Lisp, which should be useful both for users that try to gain some intuition or broaden their understanding of how the condition system works under the hood, and for people who want to implement a condition system in a programming language without one - be it Common Lisp or a different language. Implementing a condition system in a Common Lisp implementation is actually a mostly solved problem, since one can use e.g. https://github.com/phoe/portable-condition-system https://github.com/phoe/portable-condition-system or borrow some code from an already working Common Lisp implementation.