On Mon, 18 Aug 2008, Tobia Conforto wrote:
On 6 Aug 2008, Jörg F. Wittenberger wrote:
So far I've got (from watching the mailing list) the feeling that
define-macro and define-syntax don't play well together.
If it was better to have both versions available, the define-macro version
for compatibility and define-syntax for the upcoming hygienic chicken,
then: how should this be handled? Two eggs?
I've found this in the amb egg, it solves the problem nicely:
(cond-expand
(hygienic-macros
;;put here a bunch of define-syntax + syntax-rules macros
)
(else
;;put here the same macros written in un-hygienic define-macro
))
define-macro will no longer exist in chicken4 (aka hygienic chicken).
-elf
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users