On 2/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I noticed that when i require syntax-case first it works.
Is this some kind of bug or do i allways have to load syntax-case before
something which utilises some sort of macro transformer itself?


Hi, Tim!

The problem is that extensions that replace the macro-expander (like
syntax-case or syntactic-closures) will not have access to macros that
have been defined in the context of the previously running expander
(there is now support for "chaining" expanders, which would end up in
a mess). So you load "awk", define a low-level macro, load "syntax-case",
and replace the low-level expander (and thus throwing away all defined
macros). Now only macros defined using the new expander are visible.


cheers,
felix


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to