On Tue, Jun 28, 2005 at 09:49:58AM +1000, Brad Bowman wrote: > Autrijus' journal mentions quasiquoting (Perl 5).
Yes... quasiquoting in Perl 5 is currently crudely emulated by feeding things to PPI::Tokenizer and PPI::Transform. :-) > I was wondering how that would work. Many languages use unusual > syntax for quasiquoting and code splicing but Perl 6 is already > nibbling into unicode. > Does that mean macros will be grafting and pruning the AST that > comes back from a quote/rule? That is my current understanding; you'll have to explicitly call parse and compile and then eval. > Or will there be syntatic shorthand? There's no shorthand for the process as far as I'm aware. I'd love to see a sane design, and implementors are welcome too. :) Thanks, /Autrijus/
pgpADLq17DDYT.pgp
Description: PGP signature