Re: Macros?

2006-01-29 Thread Yuval Kogman
On Sun, Jan 29, 2006 at 20:29:43 +, Herbert Snorrason wrote: > On 29/01/06, Yuval Kogman <[EMAIL PROTECTED]> wrote: > > Basically the plan is that when an internal AST language is decided > > upon, the macros will be able to get either the source code text, or > > an AST. > Two things. First, i

Re: Macros?

2006-01-29 Thread Herbert Snorrason
On 29/01/06, Yuval Kogman <[EMAIL PROTECTED]> wrote: > Basically the plan is that when an internal AST language is decided > upon, the macros will be able to get either the source code text, or > an AST. Two things. First, if the AST path is taken, doesn't that mean that the AST representation has

Re: Macros?

2006-01-29 Thread Luke Palmer
On 1/29/06, Yuval Kogman <[EMAIL PROTECTED]> wrote: > Aside from that they are normal perl 6 subroutines, that simply get > invoked during compile time instead of during runtime. With one extra "feature". By default (my preference) or with a trait, parameters can get passed in as ASTs instead of

Re: Macros?

2006-01-29 Thread Yuval Kogman
On Sun, Jan 29, 2006 at 18:53:25 +, Herbert Snorrason wrote: > Perl6 will have macros. Good. Cool. But, sadly, that seems to be close > to the most specific thing anyone says about the subject. There is > some further discussion in Apocalypse & Exegesis 6, but nothing in the > Synopsis. > > No

Macros?

2006-01-29 Thread Herbert Snorrason
Perl6 will have macros. Good. Cool. But, sadly, that seems to be close to the most specific thing anyone says about the subject. There is some further discussion in Apocalypse & Exegesis 6, but nothing in the Synopsis. Now, considering that macros are a language feature and that the Synopses are p