chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] tinyclos


From: Peter Bex
Subject: Re: [Chicken-users] tinyclos
Date: Tue, 26 May 2009 20:43:39 +0200
User-agent: Mutt/1.4.2.3i

On Tue, May 26, 2009 at 01:04:58PM +0200, felix winkelmann wrote:
> Hello!
> 
> 
> I have imported an initial try at porting tinyclos to chicken 4 in
> release/3/tinyclos/trunk. Running tinyclos-examples.scm gives
> me an error though, so I think something is not working
> correctly.
> 
> Is anybody interested in helping out with this?

I had a quick look, and I'm embarassed to say I ran into this
problem before but forgot to report it.
The (define-syntax (foo ...) ..) form doesn't work.  Change every
occurrence of that to (define-syntax foo (lambda (...) ..) and you'll
get further.  I attached a patch that does exactly that.

Look at the generated import.scm file; it looks like er-macro-transformer
is renamed.  This would be correct, except that er-macro-transformer is
treated "specially" I think? (in that it is treated more like a magic
symbol rather than an actual procedure that is named er-macro-transformer)

Hope this helps,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: tinyclos.patch
Description: Text document

Attachment: pgpvK7mypZ4Te.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]