Re: Sending messages without knowing number of args and types at compile time

2010-02-02 Thread Per Bull Holmen
Greg Parker wrote: On Feb 1, 2010, at 3:30 AM, Per Bull Holmen wrote: I've been playing around with the idea of making a simple bridge between Objective-C (running under Cocoa) and a script language. /.../ I'd like to know whether there are any other ways than NSInvocation to send a

Re: Sending messages without knowing number of args and types at compile time

2010-02-02 Thread Jens Alfke
On Feb 2, 2010, at 12:21 AM, Per Bull Holmen wrote: Thanks. I forgot to mention one thing: It need not be perfect! Far from it... :) Just a simple tool, to facilitate letting a script (Lua) control a Cocoa application. FYI, there was already a Lua/Obj-C bridge library circa 2006, although

Re: Sending messages without knowing number of args and types at compile time

2010-02-02 Thread Dave DeLong
http://luaforge.net/projects/luaobjc On Feb 2, 2010, at 9:15 AM, Jens Alfke wrote: FYI, there was already a Lua/Obj-C bridge library circa 2006, although I don't remember the name or have a URL handy. (Sorry.) smime.p7s Description: S/MIME cryptographic signature

Sending messages without knowing number of args and types at compile time

2010-02-01 Thread Per Bull Holmen
Hi I've been playing around with the idea of making a simple bridge between Objective-C (running under Cocoa) and a script language. Not for the API, that is, but for user defined classes and methods. For this reason, I'd like to know whether there are any other ways than NSInvocation to send

Re: Sending messages without knowing number of args and types at compile time

2010-02-01 Thread Jens Alfke
On Feb 1, 2010, at 3:30 AM, Per Bull Holmen wrote: I've been playing around with the idea of making a simple bridge between Objective-C (running under Cocoa) and a script language. Not for the API, that is, but for user defined classes and methods. For this reason, I'd like to know

Re: Sending messages without knowing number of args and types at compile time

2010-02-01 Thread Michael Ash
On Mon, Feb 1, 2010 at 6:30 AM, Per Bull Holmen pbhol...@yahoo.com wrote: Hi I've been playing around with the idea of making a simple bridge between Objective-C (running under Cocoa) and a script language. Not for the API, that is, but for user defined classes and methods. For this reason,

Re: Sending messages without knowing number of args and types at compile time

2010-02-01 Thread Greg Parker
On Feb 1, 2010, at 3:30 AM, Per Bull Holmen wrote: I've been playing around with the idea of making a simple bridge between Objective-C (running under Cocoa) and a script language. Not for the API, that is, but for user defined classes and methods. For this reason, I'd like to know whether