Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

Re: Re: Re: A Macro System for Perl?

by Elian (Parson)
on May 04, 2002 at 02:20 UTC ( #163959=note: print w/ replies, xml ) Need Help??

in reply to Re: Re: A Macro System for Perl?
in thread A Macro System for Perl?

Well, subroutine calling should be a lot cheaper in perl 6, so there ought not be much difference between starting a new block and starting a subroutine. (That's the plan, at least. Whether we can pull it off is another question entirely)

As for #3.... the AST that the parser builds up will be accessible in some fashion, so the sort of macro transformation you have in mind could work on that, basically working on your parsed code as a series of symbols rather than as a series of characters, which'd make the transformation conceptually simpler.

Comment on Re: Re: Re: A Macro System for Perl?

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://163959]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2015-11-28 14:16 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (742 votes), past polls