Front page | perl.perl6.internals |
Postings from July 2002
From: Melvin Smith
July 18, 2002 13:30
Message ID: email@example.com
At 02:16 PM 7/18/2002 -0600, Jonathan Sillito wrote:
>On Wed, 2002-07-17 at 22:01, Melvin Smith wrote:
> > Subs, co-routines and continuations are at a very limited, but functional
> > state.
> > Basically you can create a PMC with a bytecode address or label
> > and use the call/callco/callcc ops on it.
>Subs seem to be broken right now. Here is a pasm file
> set_addr I0, MYSUB
> new P0, .Sub, I0
> print "this is the sub\n"
The temporary fix is to do:
new P0, .Sub
set_addr I0, MYSUB
set P0, I0
However, in my opinion, this is kludgy.