diff options
author | Andreas Rottmann <a.rottmann@gmx.at> | 2015-07-28 23:06:36 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2016-05-22 19:40:37 +0200 |
commit | d77247b90b836e149b58e9efccdd9861a28a7576 (patch) | |
tree | c9e2d9247153b61c12fb57bd128651f041e83727 /NEWS | |
parent | aa13da51892de89d3acdb84dce11699597a9fe05 (diff) |
Heed the reader settings implied by #!r6rs
When encountering the #!r6rs directive, apply the appropriate reader
settings to the port.
* libguile/read.scm (read-string-as-list): New helper procedure.
(scm_read_shebang): Set reader options implied by the R6RS syntax
upon encountering the #!r6rs directive.
* test-suite/tests/reader.test (per-port-read-options): Add tests for
the #!r6rs directive.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -739,6 +739,26 @@ users, but packagers may be interested. +Changes in 2.0.12 (since 2.0.11): + +[Note: these changes come to 2.2 via 2.0 branch, but 2.0.12 hasn't been +released yet at the time of this writing.] + +* Notable changes + +** The #!r6rs directive now influences read syntax + +The #!r6rs directive now changes the per-port reader options to make +Guile's reader conform more closely to the R6RS syntax. In particular: + +- It makes the reader case sensitive. +- It disables the recognition of keyword syntax in conflict with the + R6RS (and R5RS). +- It enables the `square-brackets', `hungry-eol-escapes' and + `r6rs-hex-escapes' reader options. + + + Changes in 2.0.11 (since 2.0.10): This release fixes an embarrassing regression introduced in the C |