[R6RS] Unicode scalar value escape sequences

Michael Sperber sperber
Sat Feb 26 10:34:57 EST 2005


After thinking about it a little bit more, I like Marc's proposal for
allowing regular number literals to specify the scalar value of a
character literal better than the C/Java clone:

#\n Unicode character n (n must start with a # character and it must
    represent an exact integer, for example #\#x20 is the space character,
    #\#d9 is the tab character, and #\#e1.2e2 is the lower case character
    "x")

Of course, the downside is that this doesn't carry over directly to
string literals.  Marc, have you thought about allowing \#<n> in
string literals, and requiring some kind of delimiter (like ; or # or
whatever) after it?

-- 
Cheers =8-} Mike
Friede, V?lkerverst?ndigung und ?berhaupt blabla


More information about the R6RS mailing list