At 01:27 PM 10/6/2001 -0400, Bryan C. Warnock wrote:
>On Saturday 06 October 2001 01:13 pm, Michael Maraist wrote:
> > So would it be something like(ultimtaely put into a macro):
> > AUTO_OP add_p_p_p {
> >   if (!P1)
> >     CREATE_PMC(P1);
> >   if (!P2 || !P3)
> >     throw exception; // however this is done in Parrot
> >   P2->vtable->add[P3->type]->(interp, P1, P2, P3); //in macro
> > }
> >
> > In this way each vtable operation is really an array of handlers for
> > each possible type of input.
>
>Arghh, no. Surely you don't mean 'each possible' the way that I'm reading
>'each possible'? [1]

Nope. The range for type here is severely limited. It'll have a "Beats me, 
go punt" value that the odd stuff'll fall into.

                                        Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to