This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: how to write macroexpand
Thanks - I think this is now taken care of!
I checked in your code, as gnu/kawa/slib/syntaxutils.scm.
I added handling for a missing (null) else-clause if IfExp.
I renamed the function to expand, as in some other Schemes you mentioned.
Note you do need to (require 'syntax-utils) to access expand.
I converted your tests to SRFI-64 style, and checked that in.
I updated the manual (i.e. kawa.texi - the web site hasn't been
updated), and mentioned the functions in the news.html page
(which has been updated on the web site).
--
--Per Bothner
per@bothner.com http://per.bothner.com/