1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00
guile/module
Andreas Rottmann d458073bc0 Use a fluid for the list of the reader's "hash procedures"
This allows customizing the reader behavior for a dynamic extent more easily.

* libguile/read.c (scm_read_hash_procedures): Renamed to
  `scm_i_read_hash_procedures'.
  (scm_i_read_hash_procedures_ref, scm_i_read_hash_procedures_set_x):
  New (internal) accessor functions for the fluid.
  (scm_read_hash_extend, scm_get_hash_procedure): Use these accessor
  functions.
  (scm_init_read): Create the fluid, named `%read-hash-procedures' instead of
  the previous plain list `read-hash-procedures'.

* test-suite/tests/reader.test: Adapt the "R6RS/SRFI-30 block comment
  syntax overridden" test to make use of the fluid.

* module/ice-9/deprecated.scm (read-hash-procedures):
  New identifier macro -- backward-compatibility shim.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2010-11-03 00:09:57 +01:00
..
ice-9 Use a fluid for the list of the reader's "hash procedures" 2010-11-03 00:09:57 +01:00
language Tweak -Wunused-variable' and -Wunused-toplevel' for special names. 2010-10-20 23:45:59 +02:00
oop Remove goops-version, which is no longer defined 2010-10-02 18:14:45 +01:00
rnrs Improve performance of R6RS records implementation 2010-10-22 14:34:49 -04:00
scripts Have "frisk" recognize #:use-module' and #:autoload'. 2010-10-27 23:31:49 +02:00
srfi Extend the #:replace list of the SRFI 69 module 2010-10-27 23:33:40 +02:00
sxml ssax: add procs to define parsed entities 2010-10-14 12:37:31 +02:00
system ,frame and related commands handle for-trap? appropriately 2010-10-12 13:24:46 +02:00
texinfo Fix typos. 2010-09-02 00:04:39 +02:00
web web/uri: reimplement for rfc 3986, add tests 2010-10-17 20:35:22 +02:00
Makefile.am web/uri: reimplement for rfc 3986, add tests 2010-10-17 20:35:22 +02:00
rnrs.scm back-compat in (rnrs) for deprecated modules-in-value-namespace 2010-09-02 21:31:55 -07:00
statprof.scm remove a number of debug options 2010-09-24 20:57:01 +02:00
texinfo.scm Remove unused top-level variables. 2010-01-11 01:21:14 +01:00