mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 21:40:33 +02:00
Better R6RS compatibility
* module/ice-9/boot-9.scm (install-r6rs!): Also enable `hungry-eol-escapes'. * doc/ref/r6rs.texi (R6RS Incompatibilities): Document lack of unicode escapes in symbols.
This commit is contained in:
parent
15bef73647
commit
714d0b9d9f
2 changed files with 7 additions and 1 deletions
|
@ -44,6 +44,11 @@ case for R6RS treatment of escaped newlines in strings.
|
||||||
R6RS behavior can be turned on via a reader option. @xref{String
|
R6RS behavior can be turned on via a reader option. @xref{String
|
||||||
Syntax}, for more information.
|
Syntax}, for more information.
|
||||||
|
|
||||||
|
@item
|
||||||
|
Guile does not yet support Unicode escapes in symbols, such as
|
||||||
|
@code{H\x65;llo} (the same as @code{Hello}), or @code(\x3BB;) (the same
|
||||||
|
as @code{λ}).
|
||||||
|
|
||||||
@item
|
@item
|
||||||
A @code{set!} to a variable transformer may only expand to an
|
A @code{set!} to a variable transformer may only expand to an
|
||||||
expression, not a definition---even if the original @code{set!}
|
expression, not a definition---even if the original @code{set!}
|
||||||
|
|
|
@ -4078,7 +4078,8 @@ R6RS. @xref{R6RS Incompatibilities} in the manual."
|
||||||
(set! %load-extensions
|
(set! %load-extensions
|
||||||
(cons* ".guile.sls" ".sls"
|
(cons* ".guile.sls" ".sls"
|
||||||
(delete ".guile.sls" (delete ".sls" %load-extensions))))
|
(delete ".guile.sls" (delete ".sls" %load-extensions))))
|
||||||
(read-enable 'r6rs-hex-escapes))
|
(read-enable 'r6rs-hex-escapes)
|
||||||
|
(read-enable 'hungry-eol-escapes))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue