larcenists / larceny

Larceny Scheme implementation
Other
203 stars 32 forks source link

Implemented (r6rs exceptions) for R7RS systems. #731

Closed TaylanUB closed 9 years ago

TaylanUB commented 9 years ago

Note on raise: R6RS specifies that it should raise a &non-continuable condition if the exception handler returns. R7RS leaves it unspecified what it raises. I assume that a competent R7RS implementation, if it supports the condition system of R6RS, will make its raise from (scheme base) conformant to R6RS, so it's fine for us to simply re-export it for this library.

TaylanUB commented 9 years ago

Note on environment: again, I assume the R7RS implementation is competent and uses the same procedure for R6RS and R7RS environment, i.e. the environment from (scheme eval) understands R6RS import specs if the implementation understands them at all.