[R6RS] string escapes

Michael Sperber sperber at informatik.uni-tuebingen.de
Fri Mar 3 02:22:09 EST 2006


I greatly prefer what you propose here to what's currently in the
SRFI.

Matthew Flatt <mflatt at cs.utah.edu> writes:

>  \x(X...)
>
> in strings, we couldn't use the same syntax for characters, because "("
> is a delimiter outside of strings. So maybe
>
>  \x<X...>
>
> in strings and symbols and
>
>  #\x<X....>
>
> for characters, where the "<" and ">" are literal and "X" stands for a
> hex digit.

However, this makes it harder to adopt pointy brackets as regular
general grouping syntax in R9RS, right?

I would slightly prefer

\xXXX...;
        ^ delimiter

in strings and

#\xXXX (implicitly delimited)

in characters.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla



More information about the R6RS mailing list