Re: Now, to try again...
[email protected] (Simon Cozens) Wed, 3 Jan 2001 21:32:47 +0000
| Newsgroups | perl.perl6.internals.api.parser |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jan 02, 2001 at 06:22:31PM -0800, Steve Fink wrote:
> Just in looking at your example, it seems like some complex replacements
> would be a bit of a pain to generate. It would be nice to have a
> specification for those opcode replacements. Like, say, perl code. How
> hard would it be to do:
Trivial. Use B::svref_2object(sub { your code here }) to create an op tree in
a variable. Splice it in as before.
--
"There is no statute of limitations on stupidity."
-- Randomly produced by a computer program called Markov3.