From rjs at fdy2.demon.co.uk Wed May 12 16:46:33 2010 From: rjs at fdy2.demon.co.uk (rjs at fdy2.demon.co.uk) Date: Wed, 12 May 2010 17:46:33 +0100 (BST) Subject: [movitz-devel] loop Message-ID: <20100512164633.D8B2E762A@fdy2.demon.co.uk> The LOOP macro doesn't seem to create a NIL block. I'm trying to add some code from CMUCL to Movitz that expects to be able to (RETURN NIL) from within a LOOP. I have tried comparing loop.lisp with the equivalents in CMUCL and SBCL but can't see what is causing the problem. Robert Swindells From frode at netfonds.no Fri May 14 07:09:57 2010 From: frode at netfonds.no (Frode V. Fjeld) Date: Fri, 14 May 2010 09:09:57 +0200 Subject: [movitz-devel] loop References: <20100512164633.D8B2E762A@fdy2.demon.co.uk> Message-ID: <82ocgjvu0q.fsf@netfonds.no> writes: > The LOOP macro doesn't seem to create a NIL block. The macro-expander for LOOP is copied pretty much verbatim from some other implementation (perhaps CMUCL), so I'd be surprised if there's an obvious problem like that. I'll have a look at it this evening, hopefully. -- Frode V. Fjeld From rjs at fdy2.demon.co.uk Fri May 14 09:38:42 2010 From: rjs at fdy2.demon.co.uk (rjs at fdy2.demon.co.uk) Date: Fri, 14 May 2010 10:38:42 +0100 (BST) Subject: [movitz-devel] loop In-Reply-To: <82ocgjvu0q.fsf@netfonds.no> (frode@netfonds.no) Message-ID: <20100514093842.AB9C176A0@fdy2.demon.co.uk> frode at netfonds.no wrote: > writes: > >> The LOOP macro doesn't seem to create a NIL block. > >The macro-expander for LOOP is copied pretty much verbatim from some >other implementation (perhaps CMUCL), so I'd be surprised if there's an >obvious problem like that. I'll have a look at it this evening, >hopefully. This feature was only added to the CMUCL version in 2008, I have tried adding the same changes to the Movitz version but it still doesn't work. The code for LOOP is nearly the same in CMUCL, SBCL and CCL but there are slight differences in each. Robert Swindells