Grokbase
Topics Posts Groups | in
x
[ help ]

Re: syntax for macros / function composition at compile time??

View PostFlat  Thread  Threaded | < Prev
A. Pagaltzis Re: syntax for macros / function composition at compile time??
| +1 vote
[ Profile | Reply to group ] [ Flat  Thread  Threaded ]
* Erwan Lemonnier <erwan@lemonnier.se> [2008-11-06 08:35]:
> Well, ideas? suggestions?

Uhm, you know about subroutine attributes? See perlsub and
Attribute::Handlers.

Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread : syntax for macros / function composition at compile time
1)
Erwan Lemonnier Hi list! I need some enlightened help with a matter of language syntax design. I have been toying...
2)
Michael G Schwern There's also been a lot of work lately in taking over subroutine declarations without a source...
3)
Erwan Lemonnier Hi Michael! Thanks for your answer! I have followed a bit the ongoing with sub signatures in perl5....
4)
Michael G Schwern I still say subroutine attributes are the way. That's the syntax for attaching things to a...
5)
Erwan Lemonnier Ok! Now I understand what you meant :) I agree that it would be a smooth and more perlish way to...
6)
Florian Ragwitz I think I'd prefer adding a 'decorate' keyword using Devel::Declare. decorate foo with cache,...
7)
Tux Not that I would use it, but both syntaxes will make my eyes hurt in sytax highlighting editors and...
8)
Erwan Lemonnier That's a very good point! Indeed. This one from Florian is my personal favorite so far :) One thing...
9)
Matt S Trout That's not what attributes do though, they call a class method at a random point when the sub...
10)
Matt S Trout Yes there is. It's irc.perl.org#devel-declare since that's where rafl and I collaborate on the...
11)
David Nicol Due to "late binding," I don't think you need any new syntax for this, just as MJD's memoize...
12)
Erwan Lemonnier Hi list! I need some enlightened help with a matter of language syntax design. I have been toying...
13)
A. Pagaltzis Uhm, you know about subroutine attributes? See perlsub and Attribute::Handlers. Regards,
spacer
View PostFlat  Thread  Threaded | < Prev