1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-03 16:20:39 +02:00

Move make-regexp, regexp?, regexp-exec to (ice-9 regex)

Also deprecate the C interface.

* libguile/Makefile.am: Don't install regex-posix.h.
* libguile/deprecated.c:
* libguile/deprecated.h: Add deprecated shims for scm_make_regexp et al.
* libguile/init.c: Fix comment.
* libguile/regex-posix.c: Privatize some of the implementation details.
Arrange to install into (ice-9 regex) instead of default environment.
* module/ice-9/deprecated.scm: Add deprecation shims.
* module/ice-9/regex.scm: Add new definitions.
* module/ice-9/sandbox.scm:
* module/scripts/read-scheme-source.scm:
* module/system/repl/server.scm:
* module/texinfo/reflection.scm:
* test-suite/tests/r6rs-exceptions.test:
* test-suite/tests/srfi-10.test: Import (ice-9 regex).
This commit is contained in:
Andy Wingo 2025-06-17 14:10:12 +02:00
parent ffde664f53
commit 521662d8b7
14 changed files with 222 additions and 93 deletions

View file

@ -1,6 +1,6 @@
;;; read-scheme-source --- Read a file, recognizing scheme forms and comments
;; Copyright (C) 2001, 2006, 2011 Free Software Foundation, Inc.
;; Copyright (C) 2001, 2006, 2011, 2025 Free Software Foundation, Inc.
;;
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
@ -85,6 +85,7 @@
;;; Code:
(define-module (scripts read-scheme-source)
:use-module (ice-9 regex)
:use-module (ice-9 rdelim)
:export (read-scheme-source
read-scheme-source-silently