On 19 Jul 2008, at 20:48, Quentin Mathé wrote:

> Le 19 juil. 08 à 18:21, David Chisnall a écrit :
>
>> On 18 Jul 2008, at 12:41, Quentin Mathé wrote:
>>
>>>>> and extends: for extending ObjC class with Smalltalk
>>>>> category are the only thing I really miss currently.
>>>>
>>>> It's implemented in the parser, the AST, and the back-end.  All
>>>> that's
>>>> needed is a ten line bit of glue code to join the two together.
>>>> I'll
>>>> try to do it soon...
>>>
>>> Cool. I'm looking forward to it!
>>
>> I just committed support for categories in Smalltalk.  You can see a
>> demo of it in examples/cat.st, which adds a Smalltalk method to
>> NSObject and then calls it.
>
> Great! I'll test it later tonight or tomorrow.
> I have also an Hello-world-like AppKit example which I'd like to
> commit. I'll probably write another one for EtoileUI.

That's really great.  I haven't done any AppKit stuff yet, mainly  
because I am developing it on a headless box via ssh (it's slightly  
depressing that, now, the main thing keeping me on OS X is the really  
nice terminal emulator in Leopard).

I just committed auto-boxing of arguments.  This means that you can now:

Pass primitives to Smalltalk.
Implement methods returning primitives in Smalltalk.
Send messages with primitives as arguments to Smalltalk.

Blocks still don't work as upwards funargs and symbols are not yet  
supported, but apart from that I think it's mostly done for version 1.0.

Please test!

David
_______________________________________________
Etoile-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-discuss

Répondre à