[fpc-pascal] Layout of class method

Felipe Monteiro de Carvalho felipemonteiro.carvalho at gmail.com
Wed Mar 12 18:44:24 CET 2008


On Wed, Mar 12, 2008 at 6:10 AM, Jonas Maebe <jonas.maebe at elis.ugent.be> wrote:
>  To be able to interface
>  Objective-C code in an OOP way in FPC, support for some kind of
>  Objective Pascal dialect has to be added to the compiler. Everything
>  will probably break at one time or another.

Ummm ... I'd like to keep compiler and sintax changes to absolute
minimal. Ideally zero like now =P and I'm very close of having a fully
object-oriented interface to objective-c.

Alternatively maybe an extra method modifier could be easier to
implement then a new dialect. One that guarantees that no hidden VTM
parameter is on the method ... but I'm almost sure there is already
some way of achieving that ...

Another idea is having a objcclass type of class, which can handle
automatically some of the work currently done on the bindings, but I'd
rather avoid that as it's hard for me to develop it.

thanks,
-- 
Felipe Monteiro de Carvalho



More information about the fpc-pascal mailing list