MMD: more implications

2004-12-05 Thread Leopold Toetsch
Given a multi sub declaration a la S13: multi sub *infix:- (MyInt $left, int $right) {mysub($left, $right)} multi sub *infix:- (int $left, MyInt $right) {myrsub($right, $left)} The first one would create a MMD function variant of sub_p_p_ior Pleft.sub(Iright, Pdest) or

Re: MMD: more implications

2004-12-05 Thread Sam Ruby
General thoughts on the proposal to replace VTABLES with methods: 1) Anything that is unary (i.e., contains exactly or one argument) is not affected by MMD. There is no need to replace any such methods. 2) While I don't see Python translators using a sin opcode, I can see the implementation of

Re: MMD: more implications

2004-12-05 Thread Leopold Toetsch
Sam Ruby [EMAIL PROTECTED] wrote: General thoughts on the proposal to replace VTABLES with methods: 1) Anything that is unary (i.e., contains exactly or one argument) is not affected by MMD. That's not quite true. We currently have just infix MMD dispatching on left and right. That's just a