On 1/22/07, Abdulaziz Ghuloum <[EMAIL PROTECTED]> wrote:

For compilable macros to work, a few minor changes need to be made to
the psyntax implementation (egg) in chicken.  Mainly, the ctem and rtem
values need to be set to appropriate values when evaluating in the repl
and when compiling a file. (described in psyntax.ss under
 /Initial mode sets/.)


The problem lies somewhere else: The "load" of "pfn.so" is a run-time
operation - it is evaluated at run-time and the compiler can not (and should
not) try to infer compile-time operation (i.e. syntax) from code that only has a
meaning at run-time ("load" might be redefined). This example works in
ikarus because
it is interactive by nature and a in-core compiler (not a batch compiler as
chicken is). There is nothing wrong with the psyntax implementation of
chicken per se. Chicken just follows a different compiler model.


cheers,
felix


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

Reply via email to