Hi Mike and Ludo,

>> Works for me.  Some questions that will have to be answered.
>> Is there a C API for raising R6RS error conditions?
>
> No, not yet.  Actually, Julian’s work on R6RS libraries isn’t merged
> yet.

FWIW, the way this works right now on the wip-r6rs-libraries branch is
that R6RS `raise' is implemented in terms of Guile's `throw' -- my
implementation just uses a wrapper record type that encapsulates the
original exception object for handling by R6RS exception handlers and
optionally stores a continuation in order to support
`raise-continuable'.  (I suppose I could move some of that code to C
if people thought it made sense.)


Regards,
Julian


Reply via email to