[Vm-dev] Translation weirdness

Bert Freudenberg bert at freudenbergs.de
Fri Mar 15 15:31:24 UTC 2013


On 2013-03-15, at 15:53, Igor Stasenko <siguctua at gmail.com> wrote:

>>>>> On 14 March 2013 19:27, Bert Freudenberg <bert at freudenbergs.de> wrote:
>>>>>> 
>>>>>> Slang:  foo isIntegerOop
>>>>>> C:      interpreterProxy->isIntegerObject(foo)
>>>>>> 
>>>>>> Slang:  interpreterProxy isIntegerObject: foo
>>>>>> C:      (foo & 1)
>>>>>> 
>>>>>> SmartSyntaxInterpreterPlugin: y u no smart?
>>>>>> 
> you said that smart syntax plugin is not so smart by not replacing
> foo isIntegerOop with (foo & 1)


Did I? Don't think so - see above. I just pointed out what it is doing is surprising, not what would be right.

Anyway, Eliot made a good argument about what the right translation should be.

- Bert -



More information about the Vm-dev mailing list