Hi Wolfgang,

On Tue 05 Apr 2011 17:27, Wolfgang J Moeller <w...@heenes.com> writes:

> scm_i_print_symbol_name() in libguile/print.c ought not insert backslashes
> into "weird" symbol names that it prints using #{ ... }#,
> because the "extended read syntax" (in agreement with the documentation)
> doesn't treat backslashes specially, nor _usually_ needs escaping. (*)
>
> I notice that the bug is already present in GUILE V1.8 .

Indeed, good catch.  I had seen this before but didn't fully understand
it.

> (*) Apparently, reading a "weird" symbol whose name contains "}#"
>     isn't provided for.

Also; irritating.  Relatedly it does not seem that Guile supports R6RS
hex escapes in symbols.  I guess the right thing to do is to allow for
R6RS hex escapes in symbols, and escape '}', along with anything that's
not a printable character.

Andy
-- 
http://wingolog.org/

Reply via email to