Dan Sugalski <[EMAIL PROTECTED]> wrote:
> On Tue, 22 Jun 2004, Leopold Toetsch wrote:

>>    old_limit = $P0."recursion_limit"(new_limit)

> That's fine. We should add this (and anything else we do this way) to the
> interpinfo op so the values can be fetched back out, both by bytecode and
> via the interpinfo call for C code.. I'm tempted to have a special op for
> setting interpreter values rather than rely on methods, since this is all
> very low level, and likely to be set via C code. (Where method calls into
> parrot are a bit of a pain)

I think that this won't get used heavily. Anyway for this case, we can
integrate it into C<interpinfo> or some such.

OTOH we probably need to support a method interface for a lot more
things. b3.py has stuff like: TT.__cmp = Integer.__cmp, where TT is a
ParrotClass and Integer isa PMC.

>                                       Dan

leo

Reply via email to