Follow-up Comment #1, bug #31680 (project guile):
Yeah it is true that this isn't implemented and should be.
Ludo, Andy, I did in fact write an implementation of this in r6rs-strings
tree, but, I never committed it to master.
The commit was cff6adf899dbc0336c7c017d52504f8138c89b3d and the part of the
commit specific to this bug is all in read.c in scm_read_string and
SCM_READ_SPACE_LINE_SPACE
I didn't commit it because, at the time, I took exception with the r6rs spec
itself.
It states that <intraline-whitespace><line-ending><intraline-whitespace>
expands to nothing. And then it calls out that whitespace and line-ending are
any characters in the Unicode whitespace and line ending families!
I guarantee that no one will ever put something like <U+005d "backslash">
<U+205F "medium mathematical space"> <U+2028 "line separator"> <U+2006 "6 per
em space"> in the middle of a source code file. It will never, ever happen.
But writing the code to allow for all those cases lead to an ugly patch.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31680>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/