[fpc-pascal] About FPC calling register like Delphi
Alexandre Leclerc
alexandre.leclerc at gmail.com
Thu Jan 25 21:22:34 CET 2007
2007/1/25, Michael Van Canneyt <michael at freepascal.org>:
>
>
> On Thu, 25 Jan 2007, Alexandre Leclerc wrote:
>
> > 2007/1/25, Felipe Monteiro de Carvalho <felipemonteiro.carvalho at gmail.com>:
> > > On 1/25/07, Alexandre Leclerc <alexandre.leclerc at gmail.com> wrote:
> > > > Yes, I understand that, but I *need* a scripting engine which is based
> > > > on Pascal. And ROPS is the only one I found that answered my
> > > > requirements. Also, it's integrated and it's "free", and very fast.
> > > >
> > > > If there was another way, I would use it. But since, I must rely on a
> > > > stable FPC internal to make it work.
> > >
> > > Does this script support other calling conventions?
> > >
> > > You could try using stdcall instead of register. It´s much simpler,
> > > and as stable as it can get.
> > >
> > > I remember writing a simple script engine myself, and then I choose to
> > > support mostly stdcall.
> >
> > ROPS (RemObjects Pascal Script remobjects.com) is 100% pascal code
>
> Not 100%, there is 1 routine which is assembler, it's the routine
> that sets up the stack when making a call to an imported function.
Indeed, I did not think about that :) -- Since FPC compiles asembler,
I almost tought it was pascal code :D
--
Alexandre Leclerc
More information about the fpc-pascal
mailing list