2007/1/25, Michael Van Canneyt <[EMAIL PROTECTED]>:


On Thu, 25 Jan 2007, Alexandre Leclerc wrote:

> 2007/1/25, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>:
> > On 1/25/07, Alexandre Leclerc <[EMAIL PROTECTED]> 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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to