Re: [PATCH] add language/wisp to Guile?

2023-02-16 Thread Maxime Devos
On 16-02-2023 09:03, Dr. Arne Babenhauserheide wrote: Maxime Devos writes: + ;; allow using "# foo" as #(foo). + (read-hash-extend #\# (λ (chr port) #\#)) That's a rather Wisp-specific extension, but it appears you are extending things globally. Instead, I propose

Re: [PATCH] add language/wisp to Guile?

2023-02-16 Thread Dr. Arne Babenhauserheide
Maxime Devos writes: >> + ;; allow using "# foo" as #(foo). >> + (read-hash-extend #\# (λ (chr port) #\#)) > > That's a rather Wisp-specific extension, but it appears you are > extending things globally. Instead, I propose extending it > temporarily, with the undocumented

Re: [PATCH] add language/wisp to Guile?

2023-02-16 Thread Dr. Arne Babenhauserheide
Matt Wette writes: > You may be interested in the load-lang patch I generated a few years ago > to allow file-extension based loading, in addition to '#lang elisp" > type hooks. > > https://github.com/mwette/guile-contrib/blob/main/patch/3.0.8/load-lang.patch @Maxime: Is this something you’d

Re: [PATCH] add language/wisp to Guile?

2023-02-16 Thread Dr. Arne Babenhauserheide
Maxime Devos writes: > On 16-02-2023 09:03, Dr. Arne Babenhauserheide wrote: >> Do you mean using it similar to this test? >>(pass-if "R6RS/SRFI-30 block comment syntax overridden" >> ;; To be compatible with 1.8 and earlier, we should be able to override >> ;; this syntax. >>

Re: [PATCH] add language/wisp to Guile?

2023-02-16 Thread Matt Wette
On 2/16/23 1:38 PM, Dr. Arne Babenhauserheide wrote: Matt Wette writes: You may be interested in the load-lang patch I generated a few years ago to allow file-extension based loading, in addition to '#lang elisp" type hooks.

Wisp 1.0.10 released: encoding, reader, underscores

2023-02-16 Thread Dr. Arne Babenhauserheide
Hi, Thanks to the review of Maxime Devos of my patches to get Wisp into Guile, Wisp got some improvements that are now released as v1.0.10: https://www.draketo.de/software/wisp#v1.0.10 Improvements: - encoding handling only changes the port - more precise reader adaption (removed side-effects)