Hi Andy, and thank you for your detailed answer!
Andy Wingo <wi...@igalia.com> writes:
> Hi :)
>
> [+guile-devel]
>
> On Mon 13 Feb 2017 07:18, Maxim Cournoyer <maxim.courno...@gmail.com> writes:
>
>>>> ;;; note: auto-compil
Christopher Allan Webber <cweb...@dustycloud.org> writes:
> Maxim Cournoyer writes:
>
>> Hi,
>>
>> Today I tried investigating if was possible to build Guile so that even
>> its extension modules could be built in statically rather than
>> dynamically lo
Hi,
Today I tried investigating if was possible to build Guile so that even
its extension modules could be built in statically rather than
dynamically loaded. I didn't succeed; even when building Guile the way
its described by the %guile-static package in Guix (see (gnu packages
make-bootstrap)),
sing of real-world HTML
;; Copyright (C) 2003-2004 Neil W. Van Dyke
;; Modified 2004 by Andy Wingo to fit in with guile-lib.
+;; Modified 2021 by Maxim Cournoyer to parameterize the parent constraints.
;; This program is free software: you can redistribute it and/or modify
;; it under the term
From: Ludovic Courtès
This bug would cause the test suite to hang and fully use one CPU core
and slowly consume all the memory.
Signed-off-by: Maxim Cournoyer
---
src/md5.scm | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/md5.scm b/src/md5.scm
index c30ef2c
This reverts commit 437ddcdd359ce7daccd546be0060fb71c56a71d7. I'm
proposing to add the fix from Guix, which is simpler.
---
am/guile.mk | 12 +---
configure.ac | 4 +---
2 files changed, 2 insertions(+), 14 deletions(-)
diff --git a/am/guile.mk b/am/guile.mk
index 0cc75a7..6ab0750
David Pirotte
+Copyright (C) 2021 Maxim Cournoyer
This file is part of Guile-Lib.
@@ -63,8 +64,6 @@ dnl dependency version to 2.0.12 [or higher], because it has
texinfo
dnl patches so 'make check' pass.
GUILE_PROGS([2.0.12])
GUILE_SITE_DIR
-GUILE_GLOBAL_SITE_DIR
-GUILE_SITE_CCACHE_DIR
To ease the hacking experience.
* HACK: New file.
---
HACK | 47 +++
1 file changed, 47 insertions(+)
create mode 100644 HACK
diff --git a/HACK b/HACK
new file mode 100644
index 000..a7cf01e
--- /dev/null
+++ b/HACK
@@ -0,0 +1,47 @@
+Dependencies
From: Christopher Baines
This enables cross-compiling for systems different than the build
machine.
* configure.ac (GUILE_TARGET): New variable.
* am/guile.mk (.scm.go): Use it.
Signed-off-by: Maxim Cournoyer
---
am/guile.mk | 2 +-
configure.ac | 5 +
2 files changed, 6 insertions
100644 HACK
delete mode 100644 m4/guile-ext.m4
Christopher Baines (1):
build: Add support for cross-compilation.
Ludovic Courtès (1):
Work around Guile 3.0.0 miscompilation at -O2.
Maxim Cournoyer (4):
Revert "When using guile-3.0, compile src/md5.scm using -O0"
Add a
Hi Stefan,
Stefan Israelsson Tampe writes:
> Hi,
>
> I released a new tag of my python code that basically is a snapshot of a
> work in progress.
>
> This release includes
> * pythons new match statement
> * dataclasses
> * Faster python regexps through caching and improved datastructures
> *
Hi,
Rob Browning writes:
> Mike Gran writes:
>
>> That doc doesn't seem to explain that sending an e-mail as you described
>> closes a bug, but, I'm sure the emacs mode will know what to do.
>
> If it helps, I suspect much of the Debian info should translate
> directly, e.g.
in v2:
- Guard against negative pad count when computing 'visual-depth'
Maxim Cournoyer (4):
(ice-9 boot-9): Fix typo.
.dir-locals: Set c-basic-offset to 2 for c-mode.
guix.scm: Update guile package native inputs.
load: Display modules depth in output when using %load-verbosely.
.dir-loc
b Browning
Tristan Colgate-McFarlane
Aleix Conchillo Flaqué
+ Maxim Cournoyer
Ludovic Courtès
Jason Earl
Paul Eggert
diff --git a/doc/guile-api.alist b/doc/guile-api.alist
index a1616149f..20c900166 100644
--- a/doc/guile-api.alist
+++ b/doc/guile
* .dir-locals.el (c-mode): Set c-basic-offset to 2.
---
(no changes since v1)
.dir-locals.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/.dir-locals.el b/.dir-locals.el
index 908670479..f63bdc8a3 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -3,6 +3,7 @@
((nil .
* guix.scm (guile) [native-inputs]: Replace texlive-base with
texlive-scheme-basic. Add git:send-email.
---
(no changes since v1)
.guix/modules/guile-package.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.guix/modules/guile-package.scm
* module/ice-9/boot-9.scm (module-use-interfaces!): Fix typo in doc string.
---
(no changes since v1)
module/ice-9/boot-9.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index a5f2eea9b..897d8d01c 100644
---
* .dir-locals.el (c-mode): Set c-basic-offset to 2.
---
(no changes since v1)
.dir-locals.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/.dir-locals.el b/.dir-locals.el
index 908670479..f63bdc8a3 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -3,6 +3,7 @@
((nil .
* guix.scm (guile) [native-inputs]: Replace texlive-base with
texlive-scheme-basic. Add git:send-email.
---
(no changes since v1)
.guix/modules/guile-package.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.guix/modules/guile-package.scm
This change was made to support investigating cyclic module dependencies
that sometimes happen in GNU Guix and are difficult to
comprehend/debug. For more context, see:
<https://issues.guix.gnu.org/65716>.
Changes in v2:
- Guard against negative pad count when computing 'visual-depth'
llo Flaqué
+ Maxim Cournoyer
Ludovic Courtès
Jason Earl
Paul Eggert
diff --git a/doc/guile-api.alist b/doc/guile-api.alist
index a1616149f..20c900166 100644
--- a/doc/guile-api.alist
+++ b/doc/guile-api.alist
@@ -37,9 +37,9 @@
(%init-rdelim-builtins (groups Scheme)
* module/ice-9/boot-9.scm (module-use-interfaces!): Fix typo in doc string.
---
(no changes since v1)
module/ice-9/boot-9.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index a5f2eea9b..897d8d01c 100644
---
This change was made to support investigating cyclic module dependencies
that sometimes happen in GNU Guix and are difficult to
comprehend/debug. For more context, see:
<https://issues.guix.gnu.org/65716>.
Maxim Cournoyer (4):
(ice-9 boot-9): Fix typo.
.dir-locals: Set c-basic-offse
a/THANKS b/THANKS
index aa4877e95..546f79b45 100644
--- a/THANKS
+++ b/THANKS
@@ -5,6 +5,7 @@ Contributors since the last release:
Rob Browning
Tristan Colgate-McFarlane
Aleix Conchillo Flaqué
+ Maxim Cournoyer
Ludovic Courtès
Jason Earl
* module/ice-9/boot-9.scm (module-use-interfaces!): Fix typo in doc string.
---
module/ice-9/boot-9.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index a5f2eea9b..897d8d01c 100644
--- a/module/ice-9/boot-9.scm
+++
* .dir-locals.el (c-mode): Set c-basic-offset to 2.
---
.dir-locals.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/.dir-locals.el b/.dir-locals.el
index 908670479..f63bdc8a3 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -3,6 +3,7 @@
((nil . ((fill-column . 72)
* guix.scm (guile) [native-inputs]: Replace texlive-base with
texlive-scheme-basic. Add git:send-email.
---
.guix/modules/guile-package.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.guix/modules/guile-package.scm b/.guix/modules/guile-package.scm
index
This is not original work: it merely integrates and formats the work of
Taylan Ulrich Bayırlı/Kammer into Guile, with a few adjustments to avoid
warnings/fix missing imports. Thank you!
* module/srfi/srfi-126.scm: New file.
* test-suite/tests/srfi-126.test: New file.
*
This is not original work: it merely integrates and formats the work of
Taylan Ulrich Bayırlı/Kammer into Guile, with a few adjustments to avoid
warnings/fix missing imports. Thank you!
* module/srfi/srfi-126.scm: New file.
* test-suite/tests/srfi-126.test: New file.
*
>From upstream commit 62504e3b5b01615297cf65c33ca76a474bd61dd3.
* module/srfi/srfi-128.scm
* module/srfi/srfi-128/128.body1.scm
* module/srfi/srfi-128/128.body2.scm
* test-suite/tests/srfi-128-test.scm
* test-suite/tests/srfi-128.test: New files.
* am/bootstrap.am (SOURCES): Register
This is not original work: it merely integrates and formats the work of
Taylan Ulrich Bayırlı/Kammer into Guile, with a few adjustments to avoid
warnings/fix missing imports. Thank you!
* module/srfi/srfi-126.scm: New file.
* test-suite/tests/srfi-126.test: New file.
*
>From upstream commit 62504e3b5b01615297cf65c33ca76a474bd61dd3.
* module/srfi/srfi-128.scm
* module/srfi/srfi-128/128.body1.scm
* module/srfi/srfi-128/128.body2.scm
* test-suite/tests/srfi-128-test.scm
* test-suite/tests/srfi-128.test: New files.
* am/bootstrap.am (SOURCES): Register
* module/srfi/srfi-125.scm
* module/srfi/srfi-125/hash-table.scm
* test-suite/tests/srfi-125-test.scm
* test-suite/tests/srfi-125.test: New files.
* am/bootstrap.am (SOURCES): Register srfi-125.scm.
(NOCOMP_SOURCES): Register hash-table.scm.
* test-suite/Makefile.am (SCM_TESTS): Register
Hi,
Ramin Honary writes:
> Hello Guile developers:
>
> I have come to realize that there are several finalized SRFIs
> published by John Cowan and others, for example, SRFI-133 (vector
> library), SRFI-125 (intermediate hash tables), SRFI-126 (R6RS-based
> hash tables) that were intended to
Hi,
Bruno Victal writes:
> Hi,
>
> Would a rewrite of the Guile tests using SRFI-64 be a welcome idea?
> IMO the advantages of doing so are:
>
> * Less “specifics” that need to be learned solely for working with
> Guile. It's easier for people already using SRFI-64 to “bring in” their
>
tors since the last release:
Rob Browning
Tristan Colgate-McFarlane
Aleix Conchillo Flaqué
+ Maxim Cournoyer
Ludovic Courtès
Jason Earl
Paul Eggert
diff --git a/doc/guile-api.alist b/doc/guile-api.alist
index a1616149f..20c900
* guix.scm (guile) [native-inputs]: Replace texlive-base with
texlive-scheme-basic. Add git:send-email.
---
(no changes since v1)
.guix/modules/guile-package.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.guix/modules/guile-package.scm
ckward
compatibility at the benefit of future stability and extensibility
Changes in v4:
- Remove with-output-to-port in %load-announce and adjust doc
Changes in v3:
- Replace PAD-COUNT with DEPTH in VISUAL-DEPTH guard.
Changes in v2:
- Guard against negative pad count when computing 'visual-depth'
* module/ice-9/boot-9.scm (module-use-interfaces!): Fix typo in doc string.
---
(no changes since v1)
module/ice-9/boot-9.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index a5f2eea9b..897d8d01c 100644
---
* .dir-locals.el (c-mode): Set c-basic-offset to 2.
---
(no changes since v1)
.dir-locals.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/.dir-locals.el b/.dir-locals.el
index 908670479..f63bdc8a3 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -3,6 +3,7 @@
((nil .
* .dir-locals.el (c-mode): Set c-basic-offset to 2.
---
(no changes since v1)
.dir-locals.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/.dir-locals.el b/.dir-locals.el
index 908670479..f63bdc8a3 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -3,6 +3,7 @@
((nil .
* module/ice-9/boot-9.scm (module-use-interfaces!): Fix typo in doc string.
---
(no changes since v1)
module/ice-9/boot-9.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index a5f2eea9b..897d8d01c 100644
---
b45 100644
--- a/THANKS
+++ b/THANKS
@@ -5,6 +5,7 @@ Contributors since the last release:
Rob Browning
Tristan Colgate-McFarlane
Aleix Conchillo Flaqué
+ Maxim Cournoyer
Ludovic Courtès
Jason Earl
Paul Eggert
diff --git a/doc/guile-a
* guix.scm (guile) [native-inputs]: Replace texlive-base with
texlive-scheme-basic. Add git:send-email.
---
(no changes since v1)
.guix/modules/guile-package.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.guix/modules/guile-package.scm
hanges in v3:
- Replace PAD-COUNT with DEPTH in VISUAL-DEPTH guard.
Changes in v2:
- Guard against negative pad count when computing 'visual-depth'
Maxim Cournoyer (4):
(ice-9 boot-9): Fix typo.
.dir-locals: Set c-basic-offset to 2 for c-mode.
guix.scm: Update guile package native inputs.
Hello!
Maxime Devos writes:
> Op 02-10-2023 om 18:13 schreef Maxim Cournoyer:
>>> Something I didn't notice previously:
>>>
>>> Op 25-09-2023 om 16:29 schreef Maxim Cournoyer:
>>>> + if (scm_is_string (args)) {
>>>> + /* C
Hi Maxime,
Maxime Devos writes:
> Something I didn't notice previously:
>
> Op 25-09-2023 om 16:29 schreef Maxim Cournoyer:
>> + if (scm_is_string (args)) {
>> + /* C code written for 3.9 and earlier expects this function to
>> + take a sin
Hi Maxime,
Maxime Devos writes:
[...]
> I now see:
>
>> + /* For compatibility with older load hooks procedures, fall-back to
>> + calling it with a single argument if calling it with two fails. */
>> + scm_internal_catch (scm_from_latin1_symbol ("wrong-number-of-args"),
>> +
* .dir-locals.el (c-mode): Set c-basic-offset to 2.
---
(no changes since v1)
.dir-locals.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/.dir-locals.el b/.dir-locals.el
index 908670479..f63bdc8a3 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -3,6 +3,7 @@
((nil .
* module/ice-9/boot-9.scm (module-use-interfaces!): Fix typo in doc string.
---
(no changes since v1)
module/ice-9/boot-9.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/ice-9/boot-9.scm b/module/ice-9/boot-9.scm
index a5f2eea9b..897d8d01c 100644
---
* guix.scm (guile) [native-inputs]: Replace texlive-base with
texlive-scheme-basic. Add git:send-email.
---
(no changes since v1)
.guix/modules/guile-package.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.guix/modules/guile-package.scm
tors since the last release:
Rob Browning
Tristan Colgate-McFarlane
Aleix Conchillo Flaqué
+ Maxim Cournoyer
Ludovic Courtès
Jason Earl
Paul Eggert
diff --git a/doc/guile-api.alist b/doc/guile-api.alist
index a1616149f..20c900
ckward
compatibility at the benefit of future stability and extensibility
Changes in v4:
- Remove with-output-to-port in %load-announce and adjust doc
Changes in v3:
- Replace PAD-COUNT with DEPTH in VISUAL-DEPTH guard.
Changes in v2:
- Guard against negative pad count when computing 'visual-depth'
file:2512: ice-9/boot-9.go] Aborted
make[2]: Leaving directory '/home/maxim/src/guile/stage1'
make[1]: *** [Makefile:2205: all-recursive] Error 1
make[1]: Leaving directory '/home/maxim/src/guile'
make: *** [Makefile:2090 : all] Erreur 2
--8<---cut here---end---&g
* module/system/base/compile.scm (next-pass): Add doc.
(compute-compiler, read-and-compile, compile): Likewise.
---
module/system/base/compile.scm | 11 +++
1 file changed, 11 insertions(+)
diff --git a/module/system/base/compile.scm b/module/system/base/compile.scm
index
* module/scripts/scan-api.scm: Invoke 'main' from shebang.
(main): Strip $0 from ARGS.
---
module/scripts/scan-api.scm | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
mode change 100644 => 100755 module/scripts/scan-api.scm
diff --git a/module/scripts/scan-api.scm
Fix bug #66046.
Introduce a 'compilation-source-file-name' fluid that captures the
pre-canonicalized file name used when compiling a file, before it gets
modified in fport_canonicalize_filename. That reference that can then
used directly by 'include', avoiding problems.
*
Add a test for bug #66046.
To run just the compiler tests:
./meta/guile -L test-suite -L . test-suite/tests/compiler.test
* test-suite/tests/compiler.test (with-temporary-directory): New syntax.
(delete-file-recursively): New procedure.
("compile-file: relative include works")
("compile-file:
* doc/ref/api-peg.texi (PEG API Reference): Fix typo in PEG example.
---
doc/ref/api-peg.texi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/doc/ref/api-peg.texi b/doc/ref/api-peg.texi
index 82e2758b4..86eb02c28 100644
--- a/doc/ref/api-peg.texi
+++ b/doc/ref/api-peg.texi
@@
Hello,
Maxim Cournoyer writes:
> * module/scripts/scan-api.scm: Invoke 'main' from shebang.
> (main): Strip $0 from ARGS.
After reading module/scripts/README, this may have been misguided; it
seems these 'commands' are intended to be used with the 'guild'
launcher, e.g.
Hi,
l...@gnu.org (Ludovic Courtès) writes:
> Hello,
>
> taylanbayi...@gmail.com (Taylan Ulrich "Bayırlı/Kammer") skribis:
>
>> To speed up the compilation of the many Scheme files in Guix, we use a
>> script that first loads all modules to be compiled into the Guile
>> process (by calling
Hi Neil,
Neil Jerram writes:
> I wrote something called GDS, back in 1.8 days, that combined some of
> the Emacs interaction features that we now have with Geiser, with
> step-by-step debugging and breakpoints. You can read about that here:
>
Hi!
Ludovic Courtès writes:
> Hi!
>
> Ludovic Courtès skribis:
>
>> There’s still much tweaking we can do, but the basics are in place, and
>> I find it pretty cool. :-) If there are no objections, I’ll merge this
>> branch into “main”. It’s going to be nice to have a dashboard to look
>>
The file was regenerated by running 'make -C unit-tests
guile-library.api.update'.
* unit-tests/guile-library.api: Regenerate.
---
(no changes since v1)
unit-tests/guile-library.api | 239 +--
1 file changed, 5 insertions(+), 234 deletions(-)
diff --git
(ice-9 format) for the default-log-formatter
- Use a keyword argument for the source-properties
- Add proc-name argument to default-log-formatter
Changes in v2:
- Relax log-msg typing on source-properties, as it can also be #f
Maxim Cournoyer (7):
configure.ac: Fix typo in message.
Use
* unit-tests/update-api: Replace /bin/bash with /bin/sh.
---
(no changes since v1)
unit-tests/update-api | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unit-tests/update-api b/unit-tests/update-api
index 8824c3f..392ce8b 100755
--- a/unit-tests/update-api
+++
logger.scm b/src/logging/logger.scm
index 7ff4f43..7b32ffe 100644
--- a/src/logging/logger.scm
+++ b/src/logging/logger.scm
@@ -1,5 +1,6 @@
;; (logging logger) -- write methods to log files
-;; Copyright (C) 2003 Richard Todd
+;; Copyright (C) 2003 Richard Todd
+;; Copyright (C) 2024 Maxim
* src/logging/logger.scm (log-helper): Retrieve procedure name and
pass it to `accept-log'.
(default-log-formatter): Register new proc-name keyword argument, and
include it in formatted message.
(accept-log): New proc-name positional argument; pass it to log-formatter.
*
The log level is always in uppercase, and its surrounding parentheses
are dropped.
* src/logging/logger.scm (default-log-formatter): Uppercase level and
strip its surrounding parens.
* unit-tests/logging.logger.scm: Adjust expected output accordingly.
---
(no changes since v1)
---
(no changes since v1)
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 7171296..e8f1bba 100644
--- a/configure.ac
+++ b/configure.ac
@@ -39,7 +39,7 @@ dnl distcheck' are aware it is a wip version.
AC_INIT(
[guile-lib],
This is to avoid long block buffering of log messages, which would
causes the log messages to be delayed, which is likely to confuse
users attempting to follow the logs in real time (see:
https://lists.gnu.org/archive/html/guile-devel/2024-01/msg0.html).
* src/logging/logger.scm (accept-log):
Hi Ludo,
Ludovic Courtès writes:
> Jonas Hahnfeld via "Developers list for Guile, the GNU extensibility
> library" skribis:
>
>> From b5f1013ad969b6e4e35b36dc63798375ffbecda3 Mon Sep 17 00:00:00 2001
>> From: Jonas Hahnfeld
>> Date: Tue, 24 Oct 2023 12:47:21 +0200
>> Subject: [PATCH 1/2] Fix
Hi,
Maxim Cournoyer writes:
> Note: this changes the API of the `accept-log' method by adding a new
> positional argument to it. `accept-log' is a "weak" public
> interface (mostly intended for internal uses or logging handler
> implementors), so this is deemed accepta
Hi Ludo,
Ludovic Courtès writes:
> Hi,
>
> Maxim Cournoyer skribis:
>
>>> PS: As far as I’m concerned, patches sent to bug-gu...@gnu.org are less
>>> likely to be lost because I see them in M-x debbugs.
>>>
>>
>> The contributing docu
* module/srfi/srfi-125.scm
* module/srfi/srfi-125/hash-table.scm
* test-suite/tests/srfi-125-test.scm
* test-suite/tests/srfi-125.test: New files.
* am/bootstrap.am (SOURCES): Register srfi-125.scm.
(NOCOMP_SOURCES): Register hash-table.scm.
* test-suite/Makefile.am (SCM_TESTS): Register
* module/srfi/srfi-151.scm
* module/srfi/srfi-151/bitwise-33.scm
* module/srfi/srfi-151/bitwise-60.scm
* module/srfi/srfi-151/bitwise-other.scm
* test-suite/tests/srfi-151.test
* test-suite/tests/srfi-151-test.scm: New files.
* am/bootstrap.am (SOURCES): Register srfi-151.scm.
(NOCOMP_SOURCES):
Fixes bug #66046.
Introduce a '%file-port-stripped-prefixes' fluid that captures the
pre-canonicalized file name used when compiling a file, before it gets
modified in fport_canonicalize_filename. That reference that can then
used by 'include' when searching for included files.
*
From: Timothy Sample
* module/ice-9/r7rs-libraries.scm (define-library): Convert R7RS
exports to R6RS exports before passing them on to 'library'.
* NEWS: Mention bug fix.
Fixes: https://bugs.gnu.org/67255
Reported-by: Maxim Cournoyer .
Modified-by: Maxim Cournoyer
---
(no changes since v5
Sources retrieved from commit 9d40aaff0b788f3fd611e04a5b6aef4dfd017e8d
from https://github.com/scheme-requests-for-implementation/srfi-209/.
* module/srfi/srfi-209.sld: New file.
* module/srfi/srfi-209/209.scm: Likewise.
* module/Makefile.am (SOURCES): Register srfi-209.sld.
(NOCOMP_SOURCES):
* module/srfi/srfi-48.sld: New file.
* module/srfi/srfi-48/48.body.scm: Likewise.
* am/bootstrap.am (srfi/srfi-48.go): New target.
(SOURCES): Register srfi/srfi-48.sld.
(NOCOMP_SOURCES): Register srfi/srfi-48/48.upstream.scm.
* test-suite/tests/srfi-48.test: New test.
* test-suite/Makefile.am
This is useful when integrating R7RS SRFI libraries into Guile.
* am/bootstrap.am (GOBJECTS_): New variable.
(GOBJECTS): Compute from GOBJECTS_.
: Register %.sld to vpath.
(SUFFIXES): Register '.sld' extension.
(.sld.go .scm.go): Add 'sld.go' target to automatic compilation rule.
---
(no changes
This addresses a FIXME in r7rs-libraries.scm, which was about the
cond-expand define-library declarations not using the same features as
provided in (scheme base).
* .gitignore: Register /module/ice-9/endianness.scm.
* am/bootstrap.am (NOCOMP_SOURCES): Register ice-9/endianness.scm and
* module/srfi/srfi-178.sld: New file.
* am/bootstrap.am (SOURCES): Register it.
* module/srfi/srfi-178/convert.scm
* module/srfi/srfi-178/fields.scm
* module/srfi/srfi-178/gen-acc.scm
* module/srfi/srfi-178/logic-ops.scm
* module/srfi/srfi-178/macros.scm
* module/srfi/srfi-178/map2list.scm
*
* module/scheme/base.scm (r7:cond-expand): Test for library using
resolve-r6rs-interface instead of resolve-interface. Swallow any
exception with false-if-exception.
* test-suite/tests/r7rs-cond-expand.test: New test.
* NEWS: Update news.
* LICENSES/LGPL-3.0-or-later.txt: New file.
---
(no
ename SRFI-69 to SRFI 69, SRFI-125 to SRFI 125 in text
- Remove string-hash and symbol-hash from exports (they are already
listed in #:rename)
Maxim Cournoyer (17):
ice-9: Fix 'include' when used in compilation contexts.
r7rs-libraries: Add support for 'else' clause in cond-expand.
r
This upgrades our SRFI 64 copy to use the alternative R7RS
implementation from Taylan Kammer, which improves readability by
leveraging modern Scheme features and fixes a few bugs such as bug#66776
(test-error doesn't match error types).
* am/bootstrap.am (srfi/srfi-64.go): Update target.
This is not original work: it merely integrates and formats the work of
Taylan Ulrich Bayırlı/Kammer into Guile, with a few adjustments to avoid
warnings/fix missing imports. Thank you!
* module/srfi/srfi-126.sld: New file.
* test-suite/tests/srfi-126.test: New file.
*
* module/scheme/sort.sld: New R7RS-large library shim for (rnrs sorting).
* am/bootstrap.am (SOURCES): Register it.
* NEWS: Update NEWS.
---
(no changes since v5)
Changes in v5:
- Update NEWS
NEWS | 1 +
am/bootstrap.am| 1 +
module/scheme/sort.sld | 9 +
3
>From upstream commit 62504e3b5b01615297cf65c33ca76a474bd61dd3.
* module/srfi/srfi-128.scm
* module/srfi/srfi-128/128.body1.scm
* module/srfi/srfi-128/128.body2.scm
* test-suite/tests/srfi-128-test.scm
* test-suite/tests/srfi-128.test: New files.
* am/bootstrap.am (SOURCES): Register
* module/ice-9/r6rs-libraries.scm
(resolve-r6rs-interface : Relax symbol requirements.
: Add a new syntax matching clause to avoid stripping the
3rd identifier in a R7RS SRFI module name.
(library): Move R7RS specifics to...
* module/ice-9/r7rs-libraries.scm (define-library): ... here.
* module/ice-9/r7rs-libraries.scm (define-library)
: Add a pattern to match an 'else' clause.
---
(no changes since v1)
module/ice-9/r7rs-libraries.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/module/ice-9/r7rs-libraries.scm b/module/ice-9/r7rs-libraries.scm
index
* module/scheme/comparator.sld: New R7RS-large library shim for SRFI 128.
* am/bootstrap.am (SOURCES): Register it.
* NEWS: Update NEWS.
---
(no changes since v7)
Changes in v7:
- Register prerequisites for scheme/comparator.go in am/bootstrap.am
Changes in v5:
- Update NEWS
NEWS
\
diff --git a/module/scripts/snarfi.scm b/module/scripts/snarfi.scm
new file mode 100644
index 0..3f0f7978a
--- /dev/null
+++ b/module/scripts/snarfi.scm
@@ -0,0 +1,752 @@
+;;; snarfi --- Snarf SRFI HTML specifications into Texinfo doc
+
+;;; SPDX-FileCopyrightText: 2023
dependency on it.
Changes in v2:
- Add support for HTML table -> Texinfo @multitable
- Only splice "Specification" section if necessary
- Preserve spliced section leading text instead of discarding it
- Various bug fixes
- Use SPDX/REUSE for license/copyright notices
Maxim Cournoye
* .dir-locals.el (scheme-mode) : Add indentation rule.
---
(no changes since v1)
.dir-locals.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.dir-locals.el b/.dir-locals.el
index 908670479..a96408dc1 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -48,7 +48,8 @@
Hi,
I've recently made use of guile-lib's logging library, and was surprised
that by default the rotating-log logger, which logs to a file, would
write to a file using block buffering, which would means logs would only
be seen added to the file every now and then rather than in real time.
That
* module/srfi/srfi-178.sld: New file.
* am/bootstrap.am (SOURCES): Register it.
* module/srfi/srfi-178/convert.scm
* module/srfi/srfi-178/fields.scm
* module/srfi/srfi-178/gen-acc.scm
* module/srfi/srfi-178/logic-ops.scm
* module/srfi/srfi-178/macros.scm
* module/srfi/srfi-178/map2list.scm
*
This is not original work: it merely integrates and formats the work of
Taylan Ulrich Bayırlı/Kammer into Guile, with a few adjustments to avoid
warnings/fix missing imports. Thank you!
* module/srfi/srfi-126.scm: New file.
* test-suite/tests/srfi-126.test: New file.
*
* module/srfi/srfi-151.scm
* module/srfi/srfi-151/bitwise-33.scm
* module/srfi/srfi-151/bitwise-60.scm
* module/srfi/srfi-151/bitwise-other.scm
* test-suite/tests/srfi-151.test
* test-suite/tests/srfi-151-test.scm: New files.
* am/bootstrap.am (SOURCES): Register srfi-151.scm.
(NOCOMP_SOURCES):
* module/srfi/srfi-125.scm
* module/srfi/srfi-125/hash-table.scm
* test-suite/tests/srfi-125-test.scm
* test-suite/tests/srfi-125.test: New files.
* am/bootstrap.am (SOURCES): Register srfi-125.scm.
(NOCOMP_SOURCES): Register hash-table.scm.
* test-suite/Makefile.am (SCM_TESTS): Register
1 - 100 of 211 matches
Mail list logo