Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Marco van de Voort
> On 4/27/07, Dani?l Mantione <[EMAIL PROTECTED]> wrote: > How does other languages such as Perl/Ruby/Python (for example) etc, > handle such connections ? With a big bag of money from ActiveState and O'Reilly? :-) ___ fpc-devel maillist - fpc-devel@li

RE: [fpc-devel] C++ Linking technology

2007-04-27 Thread peter green
> They don't have to: the compilers/interpreters for these languages are > written in C. All they need to do in the worst case is compile a small > stub. For Pascal, the situation is not so simple, as there is no > connection > with C whatsoever. well there is nothing to stop you writing stubs i

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Felipe Monteiro de Carvalho
On 4/27/07, Florian Klaempfl <[EMAIL PROTECTED]> wrote: No, because this really complicates things. C++ like vmt generation, contructor/destructor handling etc. Ah, ok. thanks. I guess I didn´t know exactly how the cppclass worked. -- Felipe Monteiro de Carvalho ___

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Florian Klaempfl
Felipe Monteiro de Carvalho schrieb: > Hallo, > > Another day Florian was talking about the cppclass, a experimental > feature to link to c++ > > I would like to know: Could someone inherit a class based on cppclass > with only external functions and then add to it it´s own methods and > fields?

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Daniël Mantione
Op Fri, 27 Apr 2007, schreef Michael Van Canneyt: > On Fri, 27 Apr 2007, ik wrote: > > > On 4/27/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > > > >> > > >> Op Fri, 27 Apr 2007, schreef Felipe Monteiro de Carvalho: > > >> > > >> > Hallo, > > >> > > > >> > Another day Florian was talking

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Daniël Mantione
Op Fri, 27 Apr 2007, schreef ik: > > > To be able to support such a thing you would have to implement all > > > features of C++ objects into Pascal, effectively turning Pascal into C++ > > > with a different syntax. The proper way would be to have the C++ class > > > implement a Pascal interface

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Michael Van Canneyt
On Fri, 27 Apr 2007, ik wrote: > On 4/27/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: > > > >> > >> Op Fri, 27 Apr 2007, schreef Felipe Monteiro de Carvalho: > >> > >> > Hallo, > >> > > >> > Another day Florian was talking about the cppclass, a experimental > >> > feature to link to c++ > >> >

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread ik
On 4/27/07, Daniël Mantione <[EMAIL PROTECTED]> wrote: Op Fri, 27 Apr 2007, schreef Felipe Monteiro de Carvalho: > Hallo, > > Another day Florian was talking about the cppclass, a experimental > feature to link to c++ > > I would like to know: Could someone inherit a class based on cppclass >

Re: [fpc-devel] C++ Linking technology

2007-04-27 Thread Daniël Mantione
Op Fri, 27 Apr 2007, schreef Felipe Monteiro de Carvalho: > Hallo, > > Another day Florian was talking about the cppclass, a experimental > feature to link to c++ > > I would like to know: Could someone inherit a class based on cppclass > with only external functions and then add to it it´s ow