chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] define-macro in chicken 4?


From: Felix
Subject: Re: [Chicken-users] define-macro in chicken 4?
Date: Tue, 25 May 2010 01:14:26 +0200 (CEST)

From: Alejandro Forero Cuervo <address@hidden>
Subject: [Chicken-users] define-macro in chicken 4?
Date: Sun, 23 May 2010 21:44:40 +0200

Hi, Alejo.

> I have some extensions that I would like to migrate to Chicken 4.
> Many of these depend on define-macro.  Does define-macro work in
> Chicken 4?  What's my best option for migrating out of Chicken 3?

The best option will be to rewrite the macros to use explicit renaming
or syntax-rules (it's not that hard). There are hacks to sort of a
simulation of define-macro, but they will not work correctly with
the module system due to hygiene issues. I don't know exactly how
complex the macros are that you want to port, but many people
on this list, including me, can assist you if there are problems.

> 
> Alejo, seriously wishing he had picked Python, Perl or Java, rather
> than Chicken, 5 years ago.

It is not necessary to say that.


cheers,
felix



reply via email to

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