Re: [PATCH] Print backtraces for syntax errors too.

2023-02-24 Thread Ludovic Courtès
Maxime Devos skribis: > ;; Before: > ;; unknown file:#f:#f: syntax-stuff-twice: bad in subform > # follow"> of # very hard to follow"> > ;; After: > ;; [the same thing] > ;; > ;; Looks like another patch is needed ... What backtrace are you trying to get? Getting a backtrace showi

Re: [PATCH 0/3] Add '-Wunused-module'

2023-02-24 Thread Ludovic Courtès
Hello! Jan Nieuwenhuizen skribis: > It seems that only re-exporting a (non-macro) variable from an otherwise > un used module gives a false positive `unused module' warning; it > doesn't even say `possibly unused module'. Not a big problem, but can > anything be done about that? I fixed that a

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

2023-02-24 Thread Ludovic Courtès
Hello! Maxime Devos skribis: > Why should Wisp be a separate package when other SRFIs are made part > of Guile? Your point about maintenance and evolving applies equally > to other SRFIs. That’s a good point. Making it available as (srfi srfi-119) would make sense I guess. I need to take a c

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

2023-02-24 Thread Dr. Arne Babenhauserheide
Hi, Ludovic Courtès writes: >> Why should Wisp be a separate package when other SRFIs are made part >> of Guile? Your point about maintenance and evolving applies equally >> to other SRFIs. > > That’s a good point. Making it available as (srfi srfi-119) would make > sense I guess. I need to t

Re: [PATCH] Print backtraces for syntax errors too.

2023-02-24 Thread Maxime Devos
On 24-02-2023 16:48, Ludovic Courtès wrote: Maxime Devos skribis: ;; Before: ;; unknown file:#f:#f: syntax-stuff-twice: bad in subform # of # ;; After: ;; [the same thing] ;; ;; Looks like another patch is needed ... What backtrace are you trying to get? Getting a backtrace showing

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

2023-02-24 Thread Maxime Devos
On 24-02-2023 16:45, Ludovic Courtès wrote: Adding #lang support in Guile would be nice. As discussed on IRC, it can be experimented with in a WIP branch. Have you seen my messages on how the "#lang" construct is problematic for some languages, and how alternatives like "[comment delimiter] -

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

2023-02-24 Thread Maxime Devos
On 25-02-2023 00:48, Maxime Devos wrote: (**) For compatibility with Racket, it's not like we couldn't implement both "#lang" and "-*- stuff: language -*-". TBC, I mean ‘only support #lang' for values of 'lang' that Racket supports’, or alternatively ‘support #lang for compatibility, but re

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

2023-02-24 Thread Matt Wette
On 2/24/23 3:51 PM, Maxime Devos wrote: On 25-02-2023 00:48, Maxime Devos wrote: (**) For compatibility with Racket, it's not like we couldn't implement both "#lang" and "-*- stuff: language -*-". TBC, I mean ‘only support #lang' for values of 'lang' that Racket supports’, or alternatively ‘s