in reply to Re: {Perl6} Macros and native compilation
in thread {Perl6} Macros and native compilation
When the macro body is a string that is "shoved back into the input and reparsed", can I ask which variables to evaluate and which not ? I.e.
my macro this {"self{$foo}"}
Will $foo be interpolated/evaluated at compile-time, when the macro is expanded, or at runtime, in the context of the macro's usage ? In Lisp, using special syntax you can have both, which is very, *very* powerful.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: {Perl6} Macros and native compilation
by rg0now (Chaplain) on Apr 11, 2005 at 12:42 UTC | |
|
Re^3: {Perl6} Macros and native compilation
by iblech (Friar) on Apr 11, 2005 at 14:37 UTC |