chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] hygienic macros


From: Felix Winkelmann
Subject: Re: [Chicken-users] hygienic macros
Date: Wed, 04 Dec 2002 09:05:20 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530

Peter Keller wrote:
Hello,

How much work would it be to implement hygienic macros natively in Chicken so
you can use both hygienic and low level macros simultaneously?


There are (IMHO) two solutions:

1) Implement it ourselves, completely from scratch. This is generally
   possible, but anything more that straight R5RS (i.e. syntax-case)
   seems to hard. And we need something like this, since many core
   forms can not be implemented with syntax-rules

2) Port the freely available syntax-case package from Dybvig et al.
   to Chicken. This would have to be extended to allow embedding
   line-number information in syntax objects, though.
   AFAIK, SISC has taken this approach.


cheers,
felix






reply via email to

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