Am Sonntag, 6. August 2006 17:20 schrieb Bob Rogers:

[ a much more detailed answer will follow ]

>    The problem is that inferior runloops cannot be re-entered via
> continuation.  

C<get_string> is an excellent example for the POC. I've a first question 
though: assuming that we might want to eliminate inferior runloops, what can 
we do about usage of (e.g.) C<get_string> in:

a)  print P0

b)  foo(P0)    # function call with Preg
    ...
    .sub foo
       .param string s  # string param

a) could be easy by making the get_string explicit in the opcodes:

   $S0 = P0    # imcc could handle this conversion 
   print $S0

but I see little chance to catch b) at compile time.  And b) is of course 
really nasty, as the C<get_string> is occuring during argument passing, which 
has also to be used for any replacement functionality.

leo

Reply via email to