1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-07 04:30:18 +02:00
guile/module
Andy Wingo 66f9815c3f Reimplement guardians in Scheme
Also, shunt them off to a module, and deprecate the C interface.

* module/ice-9/guardians.scm: New file.
* am/bootstrap.am (SOURCES): Add new file.

* libguile.h: Remove guardians.h include.
* libguile/Makefile.am (libguile_@GUILE_EFFECTIVE_VERSION@_la_SOURCES):
(DOT_X_FILES):
(DOT_DOC_FILES):
(modinclude_HEADERS): Remove guardians.[ch] files.
* libguile/init.c (scm_i_init_guile): Remove guardians.

* libguile/deprecated.h:
* libguile/deprecated.c (scm_make_guardian): Deprecate.
* module/ice-9/deprecated.scm: Add make-guardian shim.

* module/oop/goops.scm (<guardian>): Remove class; they no longer have a
tc16.

* module/ice-9/popen.scm: Add guardians module.
* test-suite/tests/eval.test:
* test-suite/tests/fluids.test:
* test-suite/tests/gc.test:
* test-suite/tests/guardians.test:
* test-suite/tests/threads.test:
* test-suite/tests/types.test: Use the guardians module.
2025-05-04 20:41:16 +02:00
..
ice-9 Reimplement guardians in Scheme 2025-05-04 20:41:16 +02:00
language Move atomic primitive registration to (language tree-il) 2025-04-30 10:41:44 +02:00
oop Reimplement guardians in Scheme 2025-05-04 20:41:16 +02:00
rnrs Implement R6RS custom textual ports 2023-06-08 10:21:02 +02:00
scheme Update set of decimal zeroes for Unicode 15.1.0 2023-11-02 11:31:32 +01:00
scripts Bump user-visible copyright years to 2024. 2024-01-24 10:49:27 +01:00
srfi srfi-19: Fix ~V converter in date->string. 2025-02-28 10:28:06 +01:00
sxml Fix typos in comments. 2025-02-28 09:58:29 +01:00
system Add tc7 for finalizer objects 2025-05-02 16:26:17 +02:00
texinfo Fix typo in transform-string docstring 2025-03-20 13:36:58 -05:00
web Allow trailing "." in urls 2025-03-02 21:18:19 +01:00
Makefile.am Rework bootstrap to be reproducible 2022-02-01 14:50:40 +01:00
rnrs.scm Define top-level bindings for aux syntax: else, =>, _, ... 2019-09-12 21:50:51 +02:00
statprof.scm Fix typos throughout codebase. 2024-05-06 11:51:53 +02:00
texinfo.scm texinfo: Add basic support for @w{...}. 2020-06-18 00:30:30 +02:00