[comp.lang.lisp] Wanted: LOOP macro, CL, machine-independent

hall@aplcen.apl.jhu.edu (Marty Hall) (06/08/90)

In article <1510@stsci.edu> mrose@stsci.EDU (Mike Rose) writes:
>
>Does anyone out there have a machine-independent CL "LOOP" macro?  I'd
>sure like something as close to the one in Steele as possible, so that
>when the various cl implementations provide a LOOP we don't have to
>change anything.

There are two versions available via anonymous FTP from rascal.ics.utexas.edu,
the site that supplies AKCL. Here is an excerpt from the README file in /pub:

===========================================================================
     Files on the directory rascal.ics.utexas.edu:/pub/

[...]

loop.lisp is a Common Lisp version of the Maclisp/Zetalisp loop macro.
This is apparently no license for this software, though there is an MIT
copyright.  See the front of the file for details.

sloop.lisp is Bill Schelter's Common Lisp version of the
Maclisp/Zetalisp loop macro.  It's much better than loop because it is
very extensible, just as was the original Interlisp I.S.OPR FOR macro,
the inspiration for loop.  There is no license required to take or use
this file, though there is a copyright (see the head of the file).

[...]

===========================================================================

It sounds like these are versions of the ZetaLISP loop macro. Using loop on 
my Symbolics appears to correspond closely to loop from CLtL2. Anyone
more familiar with how closely this corresponds?

				- Marty Hall

-------------------------------------------------------------------
hall@aplcen.apl.jhu.edu                 Artificial Intelligence Lab
hall%aplcen.apl.jhu.edu@cunyvm.bitnet   AAI Corp
..!uunet!aplcen!hall                    PO Box 126
(301) 683-6455                          Hunt Valley, MD 21030

Chewy@cup.portal.com (Paul Frederick Snively) (06/08/90)

A poster recently asked:

"Does anyone out there have a machine-independent CL "LOOP" macro?  I'd
sure like something as close to the one in Steele as possible, so that
when the various cl implementations provide a LOOP we don't have to     
change anything."

I believe that an extended LOOP that works on a wide variety of Common Lisp
implementations can be found via anonymous FTP to wheaties.ai.mit.edu.

While you're there, you might also want to pick up "series" and "xp," both of
which are also documented in Steele 2nd ed.

Paul Snively
Software Terrorist, Macintosh Developer Technical Support
Apple Computer, Inc.