lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi Asko,

[replying to the list]

On Jan 14, 2005, at 10:12, Asko Kauppi wrote:

Have you looked at Roberto's online book?

Yes. Very much so!

I think that is the best place for these issues.

Yes. But I think that I really need to spend some "quality time" with the paper version of the book :)

Lua allows you to have so many different styles to OO,

Yes. This is also why I'm trying to find out what other people have done so far and the different pros and cons of each approach.

I'm trying to find the 'best' one, myself. :)

In a nutshell, my current thinking is along the line of Objective-C [1] and OPENSTEP's Foundation [2][3]. I tentatively call it Objective-Lua (Obj-L for short) for the sake of argument :)

My first hesitant step is to implement something more or less equivalent to NSObject [4].

In the long run, and time permitting, I would like to replicate most of the Objective-C object model [5] in Lua... I think... well, at least this is today's plan :o)

Cheers,

PA.

[1] http://www.dekorte.com/Objective-C/
[2] http://en.wikipedia.org/wiki/OPENSTEP
[3] http://www.channelu.com/NeXT/NeXTStep/3.3/nd/Foundation/ IntroFoundation.htmld/index.html [4] http://www.channelu.com/NeXT/NeXTStep/3.3/nd/Foundation/Protocols/ NSObject.htmld/index.html [5] http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/ OOProgramming/chapter_2_section_1.html