On Sun 09 Dec 2012 13:47, Andreas Rottmann <a.rottm...@gmx.at> writes:

> With Guile's default reader options, R6RS hex escape and EOL escape
> behavior is missing.  This change enables the former via the
> `r6rs-hex-escapes' option, and gets us closer to the latter by setting
> `hungry-eol-escapes'.

I would consider exposing an optional second argument to `read', for
read options.  Probably Ludo and Mark disagree?  But I think for Scheme
the cyclomatic complexity is not that bad, as we are replacing globals
with a parameter that we pass around anyway.  I would expose
(current-reader-options) as a parameter, and have it be the default
value.  Updating the current read options would update this parameter
somehow.  Could we consider a read-enable FOO as updating the binding in
the current dynamic state only?

Maybe I'm totally wrong here :)

Andy
-- 
http://wingolog.org/

Reply via email to