2007/1/25, Jonas Maebe <[EMAIL PROTECTED]>:

On 25 jan 2007, at 14:44, Alexandre Leclerc wrote:

> Are there plans to set the param-stack the same order as Delphi or
> will the actual code always stay like that?

There are plans to change it to be Delphi compatible.

> (I ask, because from different FPC release, ROPS always react
> differently. So I know some things are changing in FPC; but it does
> not give me the required stability to get a final patch to any
> problems.)

The problem is that you are extremely dependent on binary abi
stability regarding how the compiler handles things internally. I
don't think we will ever guarantee that this will become stable. The
whole point of having a higher level language compiler is to free
yourself from such things (and "yourself" includes the compiler
writers themselves).

I understand that this is not true for the way ROPS has been
implemented, but that is a (major) downside of implementing things at
such a low level. No approach is without its downsides...

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.

Is the stack order & management something complex to correct (I'm not
pushing, just informing myself, since I don't know anything in
compilers.)

Regards.

--
Alexandre Leclerc
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to