[Bus-scheme-discuss] Character Literals
JD Huntington
jedediah at jdhuntington.com
Thu Mar 20 00:38:23 EDT 2008
I did a bit of looking into how character literals are handled in some
other versions of scheme, and thought it might be useful for
discussion. As of now, bus-scheme character literals are parsed into
one-character strings. However, it appears this is not the case in at
least one other scheme implementation. Here's a snippet from PLT:
> (char? #\a)
#t
> (char? "a")
#f
In bus, the second form is true as well:
> (char? #\w)
true
> (char? "w")
true
Thoughts?
As an aside, I think I'll make a lookup for the "control" characters.
I found a list of these for the guile scheme implementation; does this
look like an adequate list?
http://gnu.cict.fr/software/guile/manual/html_node/Characters.html
-JD Huntington
More information about the Bus-scheme-discuss
mailing list