pushed updated library tests Felix Thibault (21 Aug 2020 22:28 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (22 Aug 2020 15:27 UTC)
Re: pushed updated library tests Felix Thibault (22 Aug 2020 16:23 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (25 Aug 2020 07:04 UTC)
Re: pushed updated library tests Alex Shinn (25 Aug 2020 07:20 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (25 Aug 2020 07:40 UTC)
Re: pushed updated library tests Alex Shinn (25 Aug 2020 07:58 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (25 Aug 2020 08:13 UTC)
Re: pushed updated library tests Alex Shinn (27 Aug 2020 02:14 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (27 Aug 2020 07:35 UTC)
Re: pushed updated library tests John Cowan (27 Aug 2020 17:43 UTC)
Re: pushed updated library tests Felix Thibault (27 Aug 2020 22:19 UTC)
Re: pushed updated library tests Arthur A. Gleckler (27 Aug 2020 23:23 UTC)
Re: pushed updated library tests Alex Shinn (28 Aug 2020 00:43 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (28 Aug 2020 05:26 UTC)
Re: pushed updated library tests Alex Shinn (28 Aug 2020 05:35 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (28 Aug 2020 05:52 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (28 Aug 2020 13:47 UTC)
Re: pushed updated library tests Alex Shinn (28 Aug 2020 14:24 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (28 Aug 2020 15:03 UTC)
Re: pushed updated library tests Alex Shinn (31 Aug 2020 13:14 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (31 Aug 2020 14:44 UTC)
Re: pushed updated library tests Alex Shinn (31 Aug 2020 21:15 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (01 Sep 2020 06:52 UTC)
Re: pushed updated library tests Alex Shinn (01 Sep 2020 07:18 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (01 Sep 2020 07:24 UTC)
Re: pushed updated library tests Alex Shinn (01 Sep 2020 07:29 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (01 Sep 2020 07:47 UTC)
Re: pushed updated library tests Alex Shinn (02 Sep 2020 01:19 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (02 Sep 2020 07:02 UTC)
Re: pushed updated library tests Marc Nieper-Wißkirchen (31 Aug 2020 15:50 UTC)

Re: pushed updated library tests Marc Nieper-Wißkirchen 31 Aug 2020 15:49 UTC

Am Do., 27. Aug. 2020 um 04:14 Uhr schrieb Alex Shinn <xxxxxx@gmail.com>:

>> Sorry, I didn't mean that it was difficult, least of all for you. Just
>> tedious and error-prone. My point about the relative inadequacy of
>> syntax-rules as is was: An addition of some local things (like
>> match-letrec) shouldn't lead to a global rewrite.
>
>
> You can write brittle and short-sighted code with any framework,
> I wouldn't draw too many conclusions from that.  I can imagine
> ways to write this more cleanly with syntax-rules.
>
> I'm not arguing syntax-rules is the best macro system by any
> means.  But there are two reasons to prefer a SRFI which
> at least _can_ be implemented in pure syntax-rules.  Firstly,
> because syntax-rules is the lowest common denominator.
> Secondly because, in the same spirit of the "lambda the ultimate"
> papers where we stretched how much could be done with just
> lambda as a primitive, it is interesting to see how much can be
> done with a simple macro system.  Doubtless there are better
> axioms than syntax-rules, but most efforts are in more complex,
> rather than simpler, systems.

I have thought again about my statement about the relative (!)
inadequacy of syntax-rules to maintain large macro code bases.

This had led me to the belief that my analysis of that aspect of
syntax-rules wasn't well-reasoned. While programming with syntax-rules
has its share of inconveniences (like the need for manual translation
into CPS style), I was arguing with a local-global dependence. While
it may be true that the CPS-style of syntax-rules programming
exacerbates the problem, it is by no means defining for syntax-rules.

Also in ordinary Scheme programming, we may have to globally refactor
programs when an inner-most procedure suddenly needs a value
previously only available at the outer-most level. The Scheme answer
to mitigating this problem is parameter objects. And so are syntax
parameters on the macro side. But syntax parameters are completely
orthogonal to the macro system used. And syntax parameters +
syntax-rules still has all the nice properties of syntax-rules
compared with more general macro systems about which fewer things can
be proven.