This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: R5RS macro


62945 wrote:

kawa doesn't like the macro:

(define-syntax macro-chain
(syntax-rules ()
((macro-chain . z)
(letrec-syntax ((m1 (syntax-rules () ((m1 x) (id (m2 x)))))
(m2 (syntax-rules () ((m2 x) (id (m3 x)))))
(m3 (syntax-rules () ((m3 x) (quote x))))
(id (syntax-rules () ((id x) x))))
(m1 z)))))


it seems R5RS compliant, scheme48 and sisc accept it.

Thanks for the bug report, but it's not quite complete. The CVS version of Kawa has no problems with this macro definition. If you mean its macro expansion doesn't work, you need to include an example in your bug report.

It's also a good idea to mention which Kawa version
you're using.  I prefer tests against the CVS version,
but if that is difficult, the newer the better,

It's probably best to report bugs using the bugzilla interface
- see http://www.gnu.org/software/kawa/Mailing-lists.htm .
That way they're not lost if I don't have time to do anything
about them soon.

There are areas where Kawa's macros processor is not quite
100% R5RS comptible.  It will probably take a while before
I have time to "finish up" macro handling (including syntax-case).
--
	--Per Bothner
per@bothner.com   http://per.bothner.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]