[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: (r6rs io ports)
From: |
Julian Graham |
Subject: |
Re: (r6rs io ports) |
Date: |
Sat, 10 Apr 2010 23:34:58 -0400 |
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