Email list hosting service & mailing list manager

Notes on trying to get srfi-tools working. Shawn Wagner (19 Apr 2023 17:53 UTC)
Re: Notes on trying to get srfi-tools working. Arthur A. Gleckler (19 Apr 2023 21:47 UTC)
Re: Notes on trying to get srfi-tools working. Shawn Wagner (20 Apr 2023 00:08 UTC)
Re: Notes on trying to get srfi-tools working. Lassi Kortela (20 Apr 2023 09:19 UTC)
Re: Notes on trying to get srfi-tools working. Lassi Kortela (20 Apr 2023 09:34 UTC)
Re: Notes on trying to get srfi-tools working. Daphne Preston-Kendal (20 Apr 2023 09:48 UTC)
Re: Notes on trying to get srfi-tools working. Shawn Wagner (20 Apr 2023 09:53 UTC)
Re: Notes on trying to get srfi-tools working. Arthur A. Gleckler (22 Apr 2023 16:58 UTC)
Re: Notes on trying to get srfi-tools working. Shawn Wagner (20 Apr 2023 09:50 UTC)
Re: Notes on trying to get srfi-tools working. Marc Nieper-Wißkirchen (20 Apr 2023 09:58 UTC)
Re: Notes on trying to get srfi-tools working. Shawn Wagner (20 Apr 2023 10:04 UTC)
Re: Notes on trying to get srfi-tools working. Daphne Preston-Kendal (20 Apr 2023 10:07 UTC)
Re: Notes on trying to get srfi-tools working. Lassi Kortela (20 Apr 2023 10:40 UTC)
Re: Notes on trying to get srfi-tools working. Lassi Kortela (20 Apr 2023 10:00 UTC)
Re: Notes on trying to get srfi-tools working. Lassi Kortela (22 Apr 2023 05:47 UTC)

Re: Notes on trying to get srfi-tools working. Daphne Preston-Kendal 20 Apr 2023 09:47 UTC

On 20 Apr 2023, at 11:34, Lassi Kortela <xxxxxx@lassi.io> wrote:

> IIRC, SRFI 227 can be implemented using syntax-rules so it's portable in principle. But the implementation is a substantial amount of code and we only make trivial use of it. IMHO it would be best if we could get by with a subset of the SRFI only.

The syntax-rules implementation can actually be shorted significantly by making the two versions share the same parsing code. I don’t know why I didn’t do that all along. (The implementation predates the SRFI, which just happened to choose the same syntax I had already implemented: I think maybe I thought the syntax for opt-lambda and opt*-lambda needed to be different, but in fact they differ only in semantics.)

If a shorter/lighter-weight implementation would be helpful, I can do this.

Daphne