[Vm-dev] Translation weirdness
Igor Stasenko
siguctua at gmail.com
Fri Mar 15 15:38:01 UTC 2013
On 15 March 2013 16:31, Bert Freudenberg <bert at freudenbergs.de> wrote:
>
> 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.
>
Nevermind :)
At least we agree that (foo & 1) is not good :)
> - Bert -
>
--
Best regards,
Igor Stasenko.
More information about the Vm-dev
mailing list