SLOOP -> ANSI LOOP translation



On Mon, 2004-10-18 at 06:50, ole.rohne@cern.ch wrote:
> I propose to get rid of the archaic SLOOP macro in favour of ANSI
> LOOP. We've talked about this in the past, and IIRC the conclusion was
> "ok, whenever GCL gets ANSI LOOP".

It seems that many people are feeling motivated to clean up various
aspects of the Maxima source these days. I didn't really plan on doing
all of these things at this time, but that's OK. I would be happy to see
the end of sloop.

> Not counting the trivial sed -e's/sloop/loop/g', the changes weigh in
> at some 40 lines of code - most of them as trivial as
> 'cddr->#'cddr in order to mute compiler warnings.

My biggest (but not only) problem with SLOOP is that I'm not perfectly
sure what it does. I'll look at your patches. Are you confident you
understand the differences between LOOP and SLOOP?

> With CMUCL, maxima.core compiled with ANSI LOOP seems to pass `make
> check' all right. I didn't have the energy to persuade maxima to build
> with GCL in the first place, so I'm hoping for a volunteer.
> 
> Please contact me about the patches, or tell me if it is ok to post a
> 15k message to the list.

15k is OK for the list. Context diffs are preferable.

--Jim