bug#71300: [PATCH v3] doc: Document SRFI 64.

2024-12-22 Thread Maxim Cournoyer
Hi, Finally acting on this, now that it's already been merged by Ludovic ^^'. "Dr. Arne Babenhauserheide" writes: > Maxim Cournoyer writes: > >> diff --git a/doc/ref/srfi-modules.texi b/doc/ref/srfi-modules.texi >> index 02da3e2f2..4d408d6cb 100644 >> --- a/doc/ref/srfi-modules.texi >> +++ b/d

bug#75041: [PATCH] doc/srfi-64: Fix typos and add examples.

2024-12-22 Thread Maxim Cournoyer
* doc/ref/srfi-modules.texi (SRFI-64 Writing Basic Test Suites): Fix typo. Add default test runner example. Add test-approximate and test-error examples. Document valid error types in Guile for test-error. (SRFI-64 Conditonal Test Suites and Other Advanced Features): Fix typo. Suggested-by: Arn

bug#73188: PEG parser does not support full PEG grammar

2024-12-22 Thread Ekaitz Zarraga
hi! I didn't realize but you pushed the v4, and I detected a bug in it so I sent v5. The bug is in the [^...] implementation. v5 fixes it and it even simplifies the code. Please revert 25504ba21 and apply the v5 instead.

bug#73188: [PATCH 1/3] PEG: fix [^...]

2024-12-22 Thread Ekaitz Zarraga
--- module/ice-9/peg/string-peg.scm | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/module/ice-9/peg/string-peg.scm b/module/ice-9/peg/string-peg.scm index 0026f8930..745d8e8e7 100644 --- a/module/ice-9/peg/string-peg.scm +++ b/module/ice-9/peg/string-peg.scm

bug#73188: [PATCH 3/3] PEG: add large string-peg patch

2024-12-22 Thread Ekaitz Zarraga
--- test-suite/tests/peg.test | 117 -- 1 file changed, 113 insertions(+), 4 deletions(-) diff --git a/test-suite/tests/peg.test b/test-suite/tests/peg.test index d9e3e1b22..d8d047288 100644 --- a/test-suite/tests/peg.test +++ b/test-suite/tests/peg.test @@ -86

bug#73188: [PATCH 2/3] PEG: string-peg: better support for escaping

2024-12-22 Thread Ekaitz Zarraga
--- module/ice-9/peg/string-peg.scm | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/module/ice-9/peg/string-peg.scm b/module/ice-9/peg/string-peg.scm index 745d8e8e7..9891f2ae5 100644 --- a/module/ice-9/peg/string-peg.scm +++ b/module/ice-9/peg/strin

bug#75040: [PATCH] Remove lib/malloc/.dirstamp and register to .gitignore.

2024-12-22 Thread Maxim Cournoyer
* lib/malloc/.dirstamp: Delete file. * .gitignore: Register. --- .gitignore | 2 +- lib/malloc/.dirstamp | 0 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 lib/malloc/.dirstamp diff --git a/.gitignore b/.gitignore index 7706a0879..8180beb12 100644 --- a/.gitignore +

bug#74840: [PATCH] doc: srfi-19: Use `day' instead of `date' for `make-date'.

2024-12-22 Thread Ludovic Courtès
Tomas Volf <~@wolfsden.cz> skribis: > Looking at the SRFI-19 specification, the argument is called `day', not > `date'. Even the accessor is called `date-day'. So adjust the > documentation to match. > > Also adjust the (web http) module, which was using `date' as well. > > * doc/ref/srfi-module

bug#74841: [PATCH] srfi-19: Fix ~V converter in date->string.

2024-12-22 Thread Ludovic Courtès
Hi, Tomas Volf <~@wolfsden.cz> skribis: > The ~V is supposed to print ISO week number, not a week number. This > commit fixes that. > > * module/srfi/srfi-19.scm (date-week-number-iso): New procedure taken > from the reference implementation. > (directives)<#\V>: Use it. > * test-suite/tests/srf

bug#73188: PEG parser does not support full PEG grammar

2024-12-22 Thread Ludovic Courtès
Hi Ekaitz, Apologies for applying the wrong version of the patch series! I pushed the 3 patches you just sent: 6750f6cc8 * PEG: string-peg: Add HTML5 grammar test. 38ad26497 * PEG: string-peg: Better support for escaping. c86a48a92 * PEG: string-peg: Fix [^...] interpretation. I added com

bug#71300: [PATCH v3] doc: Document SRFI 64.

2024-12-22 Thread Ludovic Courtès
Hi Maxim, Maxim Cournoyer skribis: > This is an import of the 'Abstract', 'Rationale', and 'Specification' > sections from the upstream specification text, with some manual > adjustment. > > * doc/ref/srfi-modules.texi (SRFI 64): New subsection. Finally applied with the typographical changes be

bug#74696: [PATCH 1/1] srfi-1: map!: Re-use cons cells of first argument.

2024-12-22 Thread Ludovic Courtès
Hi Juliana, Juliana Sims skribis: > * module/srfi/srfi-1.scm (map!): Re-use cons cells of first argument. Could you add a couple of tests under ‘test-suite/tests/srfi-1.test’? Apart from that it looks good to me. Thank you! Ludo’.

bug#73188: PEG parser does not support full PEG grammar

2024-12-22 Thread Ekaitz Zarraga
The three previous messages (SORRY) add the changes that were missing in when v4 was applied instead of v5.

bug#71300: [PATCH v3] doc: Document SRFI 64.

2024-12-22 Thread Maxim Cournoyer
Hi Ludovic, Ludovic Courtès writes: > Hi Maxim, > > Maxim Cournoyer skribis: > >> This is an import of the 'Abstract', 'Rationale', and 'Specification' >> sections from the upstream specification text, with some manual >> adjustment. >> >> * doc/ref/srfi-modules.texi (SRFI 64): New subsection.